diff options
Diffstat (limited to 'fluid')
| -rw-r--r-- | fluid/Fl_Function_Type.cxx | 6 | ||||
| -rw-r--r-- | fluid/Fl_Group_Type.cxx | 6 | ||||
| -rw-r--r-- | fluid/Fl_Menu_Type.cxx | 6 | ||||
| -rw-r--r-- | fluid/Fl_Type.cxx | 6 | ||||
| -rw-r--r-- | fluid/Fl_Type.h | 6 | ||||
| -rw-r--r-- | fluid/Fl_Widget_Type.cxx | 6 | ||||
| -rw-r--r-- | fluid/Fl_Widget_Type.h | 6 | ||||
| -rw-r--r-- | fluid/Fl_Window_Type.cxx | 6 | ||||
| -rw-r--r-- | fluid/Fluid_Image.cxx | 6 | ||||
| -rw-r--r-- | fluid/Fluid_Image.h | 6 | ||||
| -rw-r--r-- | fluid/Makefile | 6 | ||||
| -rw-r--r-- | fluid/Shortcut_Button.h | 6 | ||||
| -rw-r--r-- | fluid/about_panel.cxx | 15 | ||||
| -rw-r--r-- | fluid/about_panel.fl | 14 | ||||
| -rw-r--r-- | fluid/about_panel.h | 4 | ||||
| -rw-r--r-- | fluid/code.cxx | 6 | ||||
| -rw-r--r-- | fluid/factory.cxx | 6 | ||||
| -rw-r--r-- | fluid/file.cxx | 6 | ||||
| -rw-r--r-- | fluid/fluid.cxx | 30 | ||||
| -rw-r--r-- | fluid/gif.cxx | 6 | ||||
| -rw-r--r-- | fluid/keyboard_ui.cxx | 536 | ||||
| -rw-r--r-- | fluid/keyboard_ui.h | 8 |
22 files changed, 63 insertions, 640 deletions
diff --git a/fluid/Fl_Function_Type.cxx b/fluid/Fl_Function_Type.cxx index 734f58c23..c481bd76e 100644 --- a/fluid/Fl_Function_Type.cxx +++ b/fluid/Fl_Function_Type.cxx @@ -1,9 +1,9 @@ // -// "$Id: Fl_Function_Type.cxx,v 1.15.2.16 2001/01/22 15:13:38 easysw Exp $" +// "$Id: Fl_Function_Type.cxx,v 1.15.2.16.2.1 2002/01/01 15:11:28 easysw Exp $" // // C function type code for the Fast Light Tool Kit (FLTK). // -// Copyright 1998-2001 by Bill Spitzak and others. +// Copyright 1998-2002 by Bill Spitzak and others. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Library General Public @@ -672,5 +672,5 @@ void Fl_Class_Type::write_code2() { } // -// End of "$Id: Fl_Function_Type.cxx,v 1.15.2.16 2001/01/22 15:13:38 easysw Exp $". +// End of "$Id: Fl_Function_Type.cxx,v 1.15.2.16.2.1 2002/01/01 15:11:28 easysw Exp $". // diff --git a/fluid/Fl_Group_Type.cxx b/fluid/Fl_Group_Type.cxx index 4b62a9a03..1d8f001fa 100644 --- a/fluid/Fl_Group_Type.cxx +++ b/fluid/Fl_Group_Type.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Group_Type.cxx,v 1.4.2.7.2.1 2001/08/11 16:09:26 easysw Exp $" +// "$Id: Fl_Group_Type.cxx,v 1.4.2.7.2.2 2002/01/01 15:11:29 easysw Exp $" // // Fl_Group object code for the Fast Light Tool Kit (FLTK). // @@ -7,7 +7,7 @@ // the Fl_Tabs widget, with special stuff to select tab items and // insure that only one is visible. // -// Copyright 1998-2001 by Bill Spitzak and others. +// Copyright 1998-2002 by Bill Spitzak and others. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Library General Public @@ -242,5 +242,5 @@ const char tile_type_name[] = "Fl_Tile"; Fl_Tile_Type Fl_Tile_type; // the "factory" // -// End of "$Id: Fl_Group_Type.cxx,v 1.4.2.7.2.1 2001/08/11 16:09:26 easysw Exp $". +// End of "$Id: Fl_Group_Type.cxx,v 1.4.2.7.2.2 2002/01/01 15:11:29 easysw Exp $". // diff --git a/fluid/Fl_Menu_Type.cxx b/fluid/Fl_Menu_Type.cxx index 7ec6c81e2..b43f12e71 100644 --- a/fluid/Fl_Menu_Type.cxx +++ b/fluid/Fl_Menu_Type.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Menu_Type.cxx,v 1.16.2.12.2.3 2001/12/17 01:02:16 easysw Exp $" +// "$Id: Fl_Menu_Type.cxx,v 1.16.2.12.2.4 2002/01/01 15:11:29 easysw Exp $" // // Menu item code for the Fast Light Tool Kit (FLTK). // @@ -9,7 +9,7 @@ // This file also contains code to make Fl_Menu_Button, Fl_Menu_Bar, // etc widgets. // -// Copyright 1998-2001 by Bill Spitzak and others. +// Copyright 1998-2002 by Bill Spitzak and others. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Library General Public @@ -467,5 +467,5 @@ void shortcut_in_cb(Shortcut_Button* i, void* v) { } // -// End of "$Id: Fl_Menu_Type.cxx,v 1.16.2.12.2.3 2001/12/17 01:02:16 easysw Exp $". +// End of "$Id: Fl_Menu_Type.cxx,v 1.16.2.12.2.4 2002/01/01 15:11:29 easysw Exp $". // diff --git a/fluid/Fl_Type.cxx b/fluid/Fl_Type.cxx index f36b8970c..4d5bde93f 100644 --- a/fluid/Fl_Type.cxx +++ b/fluid/Fl_Type.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Type.cxx,v 1.6.2.6.2.2 2001/11/25 16:38:11 easysw Exp $" +// "$Id: Fl_Type.cxx,v 1.6.2.6.2.3 2002/01/01 15:11:29 easysw Exp $" // // Widget type code for the Fast Light Tool Kit (FLTK). // @@ -15,7 +15,7 @@ // not in the linked list and are not written to files or // copied or otherwise examined. // -// Copyright 1998-2001 by Bill Spitzak and others. +// Copyright 1998-2002 by Bill Spitzak and others. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Library General Public @@ -668,5 +668,5 @@ void Fl_Type::read_property(const char *c) { int Fl_Type::read_fdesign(const char*, const char*) {return 0;} // -// End of "$Id: Fl_Type.cxx,v 1.6.2.6.2.2 2001/11/25 16:38:11 easysw Exp $". +// End of "$Id: Fl_Type.cxx,v 1.6.2.6.2.3 2002/01/01 15:11:29 easysw Exp $". // diff --git a/fluid/Fl_Type.h b/fluid/Fl_Type.h index bd933b650..cb324e297 100644 --- a/fluid/Fl_Type.h +++ b/fluid/Fl_Type.h @@ -1,5 +1,5 @@ // -// "$Id: Fl_Type.h,v 1.5.2.11.2.2 2001/09/29 06:20:15 easysw Exp $" +// "$Id: Fl_Type.h,v 1.5.2.11.2.3 2002/01/01 15:11:29 easysw Exp $" // // Widget type header file for the Fast Light Tool Kit (FLTK). // @@ -11,7 +11,7 @@ // instance of this object. It could also have a "copy()" function, // but it was easier to implement this by using the file read/write // that is needed to save the setup anyways. -// Copyright 1998-2001 by Bill Spitzak and others. +// Copyright 1998-2002 by Bill Spitzak and others. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Library General Public @@ -560,5 +560,5 @@ int storestring(const char *n, const char * & p, int nostrip=0); extern int include_H_from_C; // -// End of "$Id: Fl_Type.h,v 1.5.2.11.2.2 2001/09/29 06:20:15 easysw Exp $". +// End of "$Id: Fl_Type.h,v 1.5.2.11.2.3 2002/01/01 15:11:29 easysw Exp $". // diff --git a/fluid/Fl_Widget_Type.cxx b/fluid/Fl_Widget_Type.cxx index 6ae0aec0c..68d9d96ba 100644 --- a/fluid/Fl_Widget_Type.cxx +++ b/fluid/Fl_Widget_Type.cxx @@ -1,9 +1,9 @@ // -// "$Id: Fl_Widget_Type.cxx,v 1.15.2.16.2.10 2001/12/17 13:48:59 easysw Exp $" +// "$Id: Fl_Widget_Type.cxx,v 1.15.2.16.2.11 2002/01/01 15:11:29 easysw Exp $" // // Widget type code for the Fast Light Tool Kit (FLTK). // -// Copyright 1998-2001 by Bill Spitzak and others. +// Copyright 1998-2002 by Bill Spitzak and others. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Library General Public @@ -1974,5 +1974,5 @@ int Fl_Widget_Type::read_fdesign(const char* name, const char* value) { } // -// End of "$Id: Fl_Widget_Type.cxx,v 1.15.2.16.2.10 2001/12/17 13:48:59 easysw Exp $". +// End of "$Id: Fl_Widget_Type.cxx,v 1.15.2.16.2.11 2002/01/01 15:11:29 easysw Exp $". // diff --git a/fluid/Fl_Widget_Type.h b/fluid/Fl_Widget_Type.h index 444b83b6a..0879e7840 100644 --- a/fluid/Fl_Widget_Type.h +++ b/fluid/Fl_Widget_Type.h @@ -1,5 +1,5 @@ // -// "$Id: Fl_Widget_Type.h,v 1.4.2.4 2001/01/22 15:13:38 easysw Exp $" +// "$Id: Fl_Widget_Type.h,v 1.4.2.4.2.1 2002/01/01 15:11:29 easysw Exp $" // // Widget type header file for the Fast Light Tool Kit (FLTK). // @@ -7,7 +7,7 @@ // This should have the widget pointer in it, but it is still in the // Fl_Type base class. // -// Copyright 1998-2001 by Bill Spitzak and others. +// Copyright 1998-2002 by Bill Spitzak and others. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Library General Public @@ -36,5 +36,5 @@ void* const LOAD = (void *)9831; extern Fl_Widget_Type *current_widget; // one of the selected ones // -// End of "$Id: Fl_Widget_Type.h,v 1.4.2.4 2001/01/22 15:13:38 easysw Exp $". +// End of "$Id: Fl_Widget_Type.h,v 1.4.2.4.2.1 2002/01/01 15:11:29 easysw Exp $". // diff --git a/fluid/Fl_Window_Type.cxx b/fluid/Fl_Window_Type.cxx index cc7297a46..e024e588e 100644 --- a/fluid/Fl_Window_Type.cxx +++ b/fluid/Fl_Window_Type.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Window_Type.cxx,v 1.13.2.10 2001/04/13 19:07:40 easysw Exp $" +// "$Id: Fl_Window_Type.cxx,v 1.13.2.10.2.1 2002/01/01 15:11:29 easysw Exp $" // // Window type code for the Fast Light Tool Kit (FLTK). // @@ -7,7 +7,7 @@ // for interacting with the overlay, which allows the user to // select, move, and resize the children widgets. // -// Copyright 1998-2001 by Bill Spitzak and others. +// Copyright 1998-2002 by Bill Spitzak and others. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Library General Public @@ -752,5 +752,5 @@ int Fl_Window_Type::read_fdesign(const char* name, const char* value) { } // -// End of "$Id: Fl_Window_Type.cxx,v 1.13.2.10 2001/04/13 19:07:40 easysw Exp $". +// End of "$Id: Fl_Window_Type.cxx,v 1.13.2.10.2.1 2002/01/01 15:11:29 easysw Exp $". // diff --git a/fluid/Fluid_Image.cxx b/fluid/Fluid_Image.cxx index 82298dd4e..5d4c67baf 100644 --- a/fluid/Fluid_Image.cxx +++ b/fluid/Fluid_Image.cxx @@ -1,9 +1,9 @@ // -// "$Id: Fluid_Image.cxx,v 1.7.2.9.2.5 2001/11/25 22:51:34 easysw Exp $" +// "$Id: Fluid_Image.cxx,v 1.7.2.9.2.6 2002/01/01 15:11:29 easysw Exp $" // // Pixmap label support for the Fast Light Tool Kit (FLTK). // -// Copyright 1998-2001 by Bill Spitzak and others. +// Copyright 1998-2002 by Bill Spitzak and others. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Library General Public @@ -220,5 +220,5 @@ Fluid_Image *ui_find_image(const char *oldname) { // -// End of "$Id: Fluid_Image.cxx,v 1.7.2.9.2.5 2001/11/25 22:51:34 easysw Exp $". +// End of "$Id: Fluid_Image.cxx,v 1.7.2.9.2.6 2002/01/01 15:11:29 easysw Exp $". // diff --git a/fluid/Fluid_Image.h b/fluid/Fluid_Image.h index 1b8694863..987396def 100644 --- a/fluid/Fluid_Image.h +++ b/fluid/Fluid_Image.h @@ -1,5 +1,5 @@ // -// "$Id: Fluid_Image.h,v 1.3.2.4.2.2 2001/11/25 22:51:34 easysw Exp $" +// "$Id: Fluid_Image.h,v 1.3.2.4.2.3 2002/01/01 15:11:29 easysw Exp $" // // Image header file for the Fast Light Tool Kit (FLTK). // @@ -7,7 +7,7 @@ // not a class in FLTK itself, and will produce different types of // code depending on what the image type is. // -// Copyright 1998-2001 by Bill Spitzak and others. +// Copyright 1998-2002 by Bill Spitzak and others. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Library General Public @@ -60,5 +60,5 @@ extern const char *ui_find_image_name; #endif // -// End of "$Id: Fluid_Image.h,v 1.3.2.4.2.2 2001/11/25 22:51:34 easysw Exp $". +// End of "$Id: Fluid_Image.h,v 1.3.2.4.2.3 2002/01/01 15:11:29 easysw Exp $". // diff --git a/fluid/Makefile b/fluid/Makefile index fe1b7b94e..b5cab8eb1 100644 --- a/fluid/Makefile +++ b/fluid/Makefile @@ -1,9 +1,9 @@ # -# "$Id: Makefile,v 1.10.2.6.2.8 2001/12/19 19:23:30 easysw Exp $" +# "$Id: Makefile,v 1.10.2.6.2.9 2002/01/01 15:11:29 easysw Exp $" # # FLUID makefile for the Fast Light Tool Kit (FLTK). # -# Copyright 1998-2001 by Bill Spitzak and others. +# Copyright 1998-2002 by Bill Spitzak and others. # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Library General Public @@ -87,5 +87,5 @@ rebuild: ./fluid -c widget_panel.fl # -# End of "$Id: Makefile,v 1.10.2.6.2.8 2001/12/19 19:23:30 easysw Exp $". +# End of "$Id: Makefile,v 1.10.2.6.2.9 2002/01/01 15:11:29 easysw Exp $". # diff --git a/fluid/Shortcut_Button.h b/fluid/Shortcut_Button.h index 92cccc515..eb592c077 100644 --- a/fluid/Shortcut_Button.h +++ b/fluid/Shortcut_Button.h @@ -1,9 +1,9 @@ // -// "$Id: Shortcut_Button.h,v 1.3.2.3 2001/01/22 15:13:38 easysw Exp $" +// "$Id: Shortcut_Button.h,v 1.3.2.3.2.1 2002/01/01 15:11:29 easysw Exp $" // // Shortcut header file for the Fast Light Tool Kit (FLTK). // -// Copyright 1998-2001 by Bill Spitzak and others. +// Copyright 1998-2002 by Bill Spitzak and others. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Library General Public @@ -35,5 +35,5 @@ public: }; // -// End of "$Id: Shortcut_Button.h,v 1.3.2.3 2001/01/22 15:13:38 easysw Exp $". +// End of "$Id: Shortcut_Button.h,v 1.3.2.3.2.1 2002/01/01 15:11:29 easysw Exp $". // diff --git a/fluid/about_panel.cxx b/fluid/about_panel.cxx index 53ed8697d..0dd0bfcbf 100644 --- a/fluid/about_panel.cxx +++ b/fluid/about_panel.cxx @@ -1,23 +1,21 @@ // generated by Fast Light User Interface Designer (fluid) version 1.0100 #include "about_panel.h" +void show_help(const char *name); Fl_Window *about_panel=(Fl_Window *)0; Fl_Group *display_group=(Fl_Group *)0; static void cb_1998(Fl_Button*, void*) { - display_group->hide(); -copyright_box->show(); + show_help("license.html"); } -Fl_Box *copyright_box=(Fl_Box *)0; - static void cb_OK(Fl_Return_Button* o, void*) { ((Fl_Window*)(o->parent()))->hide(); } -Fl_Window* make_about_panel(const char *copyright) { +Fl_Window* make_about_panel() { Fl_Window* w; { Fl_Window* o = about_panel = new Fl_Window(309, 258, "about fluid"); w = o; @@ -104,13 +102,6 @@ Fl_Window* make_about_panel(const char *copyright) { } o->end(); } - { Fl_Box* o = copyright_box = new Fl_Box(5, 5, 300, 210); - o->labelsize(8); - o->labelcolor(6); - o->align(132|FL_ALIGN_INSIDE); - o->hide(); - o->label(copyright); - } { Fl_Return_Button* o = new Fl_Return_Button(180, 218, 116, 22, "OK"); o->labelsize(10); o->callback((Fl_Callback*)cb_OK); diff --git a/fluid/about_panel.fl b/fluid/about_panel.fl index f023be07d..db0bb76f3 100644 --- a/fluid/about_panel.fl +++ b/fluid/about_panel.fl @@ -5,7 +5,10 @@ code_name {.cxx} gridx 10 gridy 10 snap 3 -Function {make_about_panel(const char *copyright)} {open +decl {void show_help(const char *name);} {selected public +} + +Function {make_about_panel()} {open } { Fl_Window about_panel { label {about fluid} open @@ -49,21 +52,16 @@ Function {make_about_panel(const char *copyright)} {open label {FLTK User Interface Designer -Version 1.1.0} selected +Version 1.1.0} xywh {140 27 160 123} box OVAL_BOX color 12 selection_color 47 labeltype SHADOW_LABEL labelfont 1 labelsize 18 labelcolor 7 } Fl_Button {} { label {©1998-2001 by Bill Spitzak and others} - callback {display_group->hide(); -copyright_box->show();} + callback {show_help("license.html");} xywh {181 176 115 30} box THIN_UP_BOX labelsize 10 labelcolor 136 } } - Fl_Box copyright_box { - xywh {5 5 300 210} labelsize 8 labelcolor 6 align 148 hide - code0 {o->label(copyright);} - } Fl_Return_Button {} { label OK callback {((Fl_Window*)(o->parent()))->hide();} diff --git a/fluid/about_panel.h b/fluid/about_panel.h index 0350cec3a..62940da80 100644 --- a/fluid/about_panel.h +++ b/fluid/about_panel.h @@ -3,13 +3,13 @@ #ifndef about_panel_h #define about_panel_h #include <FL/Fl.H> +extern void show_help(const char *name); #include <FL/Fl_Window.H> extern Fl_Window *about_panel; #include <FL/Fl_Group.H> extern Fl_Group *display_group; #include <FL/Fl_Box.H> #include <FL/Fl_Button.H> -extern Fl_Box *copyright_box; #include <FL/Fl_Return_Button.H> -Fl_Window* make_about_panel(const char *copyright); +Fl_Window* make_about_panel(); #endif diff --git a/fluid/code.cxx b/fluid/code.cxx index 3356fd8c6..a76c8667d 100644 --- a/fluid/code.cxx +++ b/fluid/code.cxx @@ -1,9 +1,9 @@ // -// "$Id: code.cxx,v 1.9.2.9.2.2 2001/11/25 16:38:11 easysw Exp $" +// "$Id: code.cxx,v 1.9.2.9.2.3 2002/01/01 15:11:29 easysw Exp $" // // Code output routines for the Fast Light Tool Kit (FLTK). // -// Copyright 1998-2001 by Bill Spitzak and others. +// Copyright 1998-2002 by Bill Spitzak and others. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Library General Public @@ -464,5 +464,5 @@ void Fl_Type::write_code1() { void Fl_Type::write_code2() {} // -// End of "$Id: code.cxx,v 1.9.2.9.2.2 2001/11/25 16:38:11 easysw Exp $". +// End of "$Id: code.cxx,v 1.9.2.9.2.3 2002/01/01 15:11:29 easysw Exp $". // diff --git a/fluid/factory.cxx b/fluid/factory.cxx index 0e8269c72..61272e98e 100644 --- a/fluid/factory.cxx +++ b/fluid/factory.cxx @@ -1,5 +1,5 @@ // -// "$Id: factory.cxx,v 1.4.2.11.2.3 2001/10/29 03:44:32 easysw Exp $" +// "$Id: factory.cxx,v 1.4.2.11.2.4 2002/01/01 15:11:29 easysw Exp $" // // Widget factory code for the Fast Light Tool Kit (FLTK). // @@ -11,7 +11,7 @@ // to a factory instance for every class (both the ones defined // here and ones in other files) // -// Copyright 1998-2001 by Bill Spitzak and others. +// Copyright 1998-2002 by Bill Spitzak and others. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Library General Public @@ -887,5 +887,5 @@ int lookup_symbol(const char *name, int &v, int numberok) { } // -// End of "$Id: factory.cxx,v 1.4.2.11.2.3 2001/10/29 03:44:32 easysw Exp $". +// End of "$Id: factory.cxx,v 1.4.2.11.2.4 2002/01/01 15:11:29 easysw Exp $". // diff --git a/fluid/file.cxx b/fluid/file.cxx index 777944599..cd8bc0d7c 100644 --- a/fluid/file.cxx +++ b/fluid/file.cxx @@ -1,5 +1,5 @@ // -// "$Id: file.cxx,v 1.7.2.6 2001/01/22 15:13:39 easysw Exp $" +// "$Id: file.cxx,v 1.7.2.6.2.1 2002/01/01 15:11:29 easysw Exp $" // // Fluid file routines for the Fast Light Tool Kit (FLTK). // @@ -8,7 +8,7 @@ // They are somewhat similar to tcl, using matching { and } // to quote strings. // -// Copyright 1998-2001 by Bill Spitzak and others. +// Copyright 1998-2002 by Bill Spitzak and others. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Library General Public @@ -639,5 +639,5 @@ void read_fdesign() { } // -// End of "$Id: file.cxx,v 1.7.2.6 2001/01/22 15:13:39 easysw Exp $". +// End of "$Id: file.cxx,v 1.7.2.6.2.1 2002/01/01 15:11:29 easysw Exp $". // diff --git a/fluid/fluid.cxx b/fluid/fluid.cxx index bf1003f23..6388d316f 100644 --- a/fluid/fluid.cxx +++ b/fluid/fluid.cxx @@ -1,9 +1,9 @@ // -// "$Id: fluid.cxx,v 1.15.2.13.2.10 2001/12/21 18:16:50 easysw Exp $" +// "$Id: fluid.cxx,v 1.15.2.13.2.11 2002/01/01 15:11:29 easysw Exp $" // // FLUID main entry for the Fast Light Tool Kit (FLTK). // -// Copyright 1998-2001 by Bill Spitzak and others. +// Copyright 1998-2002 by Bill Spitzak and others. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Library General Public @@ -23,27 +23,6 @@ // Please report all bugs and problems to "fltk-bugs@fltk.org". // -const char *copyright = -"The FLTK user interface designer version 1.1.0\n" -"Copyright 1998-2001 by Bill Spitzak and others.\n" -"\n" -"This library is free software; you can redistribute it and/or " -"modify it under the terms of the GNU Library General Public " -"License as published by the Free Software Foundation; either " -"version 2 of the License, or (at your option) any later version.\n" -"\n" -"This library is distributed in the hope that it will be useful, " -"but WITHOUT ANY WARRANTY; without even the implied warranty of " -"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. " -"See the GNU Library General Public License for more details.\n" -"\n" -"You should have received a copy of the GNU Library General Public " -"License along with this library; if not, write to the Free Software " -"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 " -"USA.\n" -"\n" -"Please report bugs to fltk-bugs@fltk.org."; - #include <FL/Fl.H> #include <FL/Fl_Double_Window.H> #include <FL/Fl_Box.H> @@ -344,8 +323,7 @@ static void sort_cb(Fl_Widget *,void *) { void show_alignment_cb(Fl_Widget *, void *); void about_cb(Fl_Widget *, void *) { - if (!about_panel) make_about_panel(copyright); - copyright_box->hide(); + if (!about_panel) make_about_panel(); display_group->show(); about_panel->show(); } @@ -533,5 +511,5 @@ int main(int argc,char **argv) { } // -// End of "$Id: fluid.cxx,v 1.15.2.13.2.10 2001/12/21 18:16:50 easysw Exp $". +// End of "$Id: fluid.cxx,v 1.15.2.13.2.11 2002/01/01 15:11:29 easysw Exp $". // diff --git a/fluid/gif.cxx b/fluid/gif.cxx index 9a9ebe313..9079a647f 100644 --- a/fluid/gif.cxx +++ b/fluid/gif.cxx @@ -1,9 +1,9 @@ // -// "$Id: gif.cxx,v 1.3.2.5 2001/01/22 15:13:39 easysw Exp $" +// "$Id: gif.cxx,v 1.3.2.5.2.1 2002/01/01 15:11:29 easysw Exp $" // // GIF support for the Fast Light Tool Kit (FLTK). // -// Copyright 1998-2001 by Bill Spitzak and others. +// Copyright 1998-2002 by Bill Spitzak and others. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Library General Public @@ -359,5 +359,5 @@ int gif2xpm( } // -// End of "$Id: gif.cxx,v 1.3.2.5 2001/01/22 15:13:39 easysw Exp $". +// End of "$Id: gif.cxx,v 1.3.2.5.2.1 2002/01/01 15:11:29 easysw Exp $". // diff --git a/fluid/keyboard_ui.cxx b/fluid/keyboard_ui.cxx deleted file mode 100644 index fa5bc3b44..000000000 --- a/fluid/keyboard_ui.cxx +++ /dev/null @@ -1,536 +0,0 @@ -// generated by Fast Light User Interface Designer (fluid) version 0.99 -#include "keyboard_ui.h" - -Fl_Window *make_window() { - Fl_Window *w; - {Fl_Window* o = new Fl_Window(494, 193); - w = o; - } - {Fl_Button* o = new Fl_Button(15, 50, 20, 20, "Esc"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb, (void*)(FL_Escape)); - } - {Fl_Button* o = new Fl_Button(50, 50, 20, 20, "F1"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb, (void*)(FL_F+1)); - } - {Fl_Button* o = new Fl_Button(70, 50, 20, 20, "F2"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb, (void*)(FL_F+2)); - } - {Fl_Button* o = new Fl_Button(90, 50, 20, 20, "F3"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb, (void*)(FL_F+3)); - } - {Fl_Button* o = new Fl_Button(110, 50, 20, 20, "F4"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb, (void*)(FL_F+4)); - } - {Fl_Button* o = new Fl_Button(140, 50, 20, 20, "F5"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb, (void*)(FL_F+5)); - } - {Fl_Button* o = new Fl_Button(160, 50, 20, 20, "F6"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb, (void*)(FL_F+6)); - } - {Fl_Button* o = new Fl_Button(180, 50, 20, 20, "F7"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb, (void*)(FL_F+7)); - } - {Fl_Button* o = new Fl_Button(200, 50, 20, 20, "F8"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb, (void*)(FL_F+8)); - } - {Fl_Button* o = new Fl_Button(230, 50, 20, 20, "F9"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb, (void*)(FL_F+9)); - } - {Fl_Button* o = new Fl_Button(250, 50, 20, 20, "F10"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb, (void*)(FL_F+10)); - } - {Fl_Button* o = new Fl_Button(270, 50, 20, 20, "F11"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb, (void*)(FL_F+11)); - } - {Fl_Button* o = new Fl_Button(290, 50, 20, 20, "F12"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb, (void*)(FL_F+12)); - } - {Fl_Button* o = new Fl_Button(325, 50, 20, 20, "Print"); - o->labelsize(8); - o->callback((Fl_Callback*)key_cb, (void*)(FL_Print)); - } - {Fl_Button* o = new Fl_Button(345, 50, 20, 20, "Sclk"); - o->labelsize(8); - o->callback((Fl_Callback*)key_cb, (void*)(FL_Scroll_Lock)); - } - {Fl_Button* o = new Fl_Button(365, 50, 20, 20, "Paus"); - o->labelsize(8); - o->callback((Fl_Callback*)key_cb, (void*)(FL_Pause)); - } - {Fl_Button* o = new Fl_Button(15, 80, 20, 20, "`"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(35, 80, 20, 20, "1"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(55, 80, 20, 20, "2"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(75, 80, 20, 20, "3"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(95, 80, 20, 20, "4"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(115, 80, 20, 20, "5"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(135, 80, 20, 20, "6"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(155, 80, 20, 20, "7"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(175, 80, 20, 20, "8"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(195, 80, 20, 20, "9"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(215, 80, 20, 20, "0"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(235, 80, 20, 20, "-"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(255, 80, 20, 20, "="); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(275, 80, 35, 20, "Bksp"); - o->labeltype(FL_SYMBOL_LABEL); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb, (void*)(FL_BackSpace)); - } - {Fl_Button* o = new Fl_Button(325, 80, 20, 20, "Ins"); - o->labelsize(8); - o->callback((Fl_Callback*)key_cb, (void*)(FL_Insert)); - } - {Fl_Button* o = new Fl_Button(345, 80, 20, 20, "Home"); - o->labelsize(8); - o->callback((Fl_Callback*)key_cb, (void*)(FL_Home)); - } - {Fl_Button* o = new Fl_Button(365, 80, 20, 20, "pgup"); - o->labelsize(8); - o->callback((Fl_Callback*)key_cb, (void*)(FL_Page_Up)); - } - {Fl_Button* o = new Fl_Button(400, 80, 20, 20, "Num"); - o->labelsize(8); - o->callback((Fl_Callback*)key_cb, (void*)(FL_Num_Lock)); - } - {Fl_Button* o = new Fl_Button(420, 80, 20, 20, "/"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb, (void*)(FL_KP+'/')); - } - {Fl_Button* o = new Fl_Button(440, 80, 20, 20, "*"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb, (void*)(FL_KP+'*')); - } - {Fl_Button* o = new Fl_Button(460, 80, 20, 20, "-"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb, (void*)(FL_KP+'-')); - } - {Fl_Button* o = new Fl_Button(15, 100, 27, 20, "Tab"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb, (void*)(FL_Tab)); - } - {Fl_Button* o = new Fl_Button(42, 100, 20, 20, "Q"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(62, 100, 20, 20, "W"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(82, 100, 20, 20, "E"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(102, 100, 20, 20, "R"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(122, 100, 20, 20, "T"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(142, 100, 20, 20, "Y"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(162, 100, 20, 20, "U"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(182, 100, 20, 20, "I"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(202, 100, 20, 20, "O"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(222, 100, 20, 20, "P"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(242, 100, 20, 20, "["); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(262, 100, 20, 20, "]"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(282, 100, 28, 20, "\\"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb, (void*)('|')); - o->align(20); - } - {Fl_Button* o = new Fl_Button(325, 100, 20, 20, "Del"); - o->labelsize(8); - o->callback((Fl_Callback*)key_cb, (void*)(FL_Delete)); - } - {Fl_Button* o = new Fl_Button(345, 100, 20, 20, "End"); - o->labelsize(8); - o->callback((Fl_Callback*)key_cb, (void*)(FL_End)); - } - {Fl_Button* o = new Fl_Button(365, 100, 20, 20, "pgdn"); - o->labelsize(8); - o->callback((Fl_Callback*)key_cb, (void*)(FL_Page_Down)); - } - {Fl_Button* o = new Fl_Button(400, 100, 20, 20, "7"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb, (void*)(FL_KP+'7')); - } - {Fl_Button* o = new Fl_Button(420, 100, 20, 20, "8"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb, (void*)(FL_KP+'8')); - } - {Fl_Button* o = new Fl_Button(440, 100, 20, 20, "9"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb, (void*)(FL_KP+'9')); - } - {Fl_Button* o = new Fl_Button(460, 100, 20, 40, "+"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb, (void*)(FL_KP+'+')); - o->align(17); - } - {Fl_Button* o = new Fl_Button(15, 120, 36, 20, "Lock"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb, (void*)(FL_Caps_Lock)); - } - {Fl_Button* o = new Fl_Button(51, 120, 20, 20, "A"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(71, 120, 20, 20, "S"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(91, 120, 20, 20, "D"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(111, 120, 20, 20, "F"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(131, 120, 20, 20, "G"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(151, 120, 20, 20, "H"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(171, 120, 20, 20, "J"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(191, 120, 20, 20, "K"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(211, 120, 20, 20, "L"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(231, 120, 20, 20, ";"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(251, 120, 20, 20, "\'"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(271, 120, 39, 20, "Enter"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb, (void*)(FL_Enter)); - } - {Fl_Button* o = new Fl_Button(400, 120, 20, 20, "4"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb, (void*)(FL_KP+'4')); - } - {Fl_Button* o = new Fl_Button(420, 120, 20, 20, "5"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb, (void*)(FL_KP+'5')); - } - {Fl_Button* o = new Fl_Button(440, 120, 20, 20, "6"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb, (void*)(FL_KP+'6')); - } - {Fl_Button* o = new Fl_Button(15, 140, 45, 20, "Shift"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb, (void*)(FL_Shift_L)); - } - {Fl_Button* o = new Fl_Button(60, 140, 20, 20, "Z"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(80, 140, 20, 20, "X"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(100, 140, 20, 20, "C"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(120, 140, 20, 20, "V"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(140, 140, 20, 20, "B"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(160, 140, 20, 20, "N"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(180, 140, 20, 20, "M"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(200, 140, 20, 20, ","); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(220, 140, 20, 20, "."); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(240, 140, 20, 20, "/"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb); - } - {Fl_Button* o = new Fl_Button(260, 140, 50, 20, "Shift"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb, (void*)(FL_Shift_R)); - } - {Fl_Button* o = new Fl_Button(345, 140, 20, 20, "@8->"); - o->labeltype(FL_SYMBOL_LABEL); - o->labelsize(10); - o->labelcolor(47); - o->callback((Fl_Callback*)key_cb, (void*)(FL_Up)); - } - {Fl_Button* o = new Fl_Button(400, 140, 20, 20, "1"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb, (void*)(FL_KP+'1')); - } - {Fl_Button* o = new Fl_Button(420, 140, 20, 20, "2"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb, (void*)(FL_KP+'2')); - } - {Fl_Button* o = new Fl_Button(440, 140, 20, 20, "3"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb, (void*)(FL_KP+'3')); - } - {Fl_Button* o = new Fl_Button(460, 140, 20, 40); - o->callback((Fl_Callback*)key_cb, (void*)(FL_KP_Enter)); - } - {Fl_Button* o = new Fl_Button(15, 160, 30, 20, "Ctrl"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb, (void*)(FL_Control_L)); - } - {Fl_Button* o = new Fl_Button(45, 160, 30, 20, "Meta"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb, (void*)(FL_Meta_L)); - } - {Fl_Button* o = new Fl_Button(75, 160, 30, 20, "Alt"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb, (void*)(FL_Alt_L)); - } - {Fl_Button* o = new Fl_Button(105, 160, 85, 20); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb, (void*)(' ')); - } - {Fl_Button* o = new Fl_Button(190, 160, 30, 20, "Alt"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb, (void*)(FL_Alt_R)); - } - {Fl_Button* o = new Fl_Button(220, 160, 30, 20, "Meta"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb, (void*)(FL_Meta_R)); - } - {Fl_Button* o = new Fl_Button(250, 160, 30, 20, "Menu"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb, (void*)(FL_Menu)); - } - {Fl_Button* o = new Fl_Button(280, 160, 30, 20, "Ctrl"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb, (void*)(FL_Control_R)); - } - {Fl_Button* o = new Fl_Button(325, 160, 20, 20, "@4->"); - o->labeltype(FL_SYMBOL_LABEL); - o->labelsize(10); - o->labelcolor(47); - o->callback((Fl_Callback*)key_cb, (void*)(FL_Left)); - } - {Fl_Button* o = new Fl_Button(345, 160, 20, 20, "@2->"); - o->labeltype(FL_SYMBOL_LABEL); - o->labelsize(10); - o->labelcolor(47); - o->callback((Fl_Callback*)key_cb, (void*)(FL_Down)); - } - {Fl_Button* o = new Fl_Button(365, 160, 20, 20, "@6->"); - o->labeltype(FL_SYMBOL_LABEL); - o->labelsize(10); - o->labelcolor(47); - o->callback((Fl_Callback*)key_cb, (void*)(FL_Right)); - } - {Fl_Button* o = new Fl_Button(400, 160, 40, 20, "0"); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb, (void*)(FL_KP+'0')); - o->align(20); - } - {Fl_Button* o = new Fl_Button(440, 160, 20, 20, "."); - o->labelsize(10); - o->callback((Fl_Callback*)key_cb, (void*)(FL_KP+'.')); - } - {Fl_Input* o = new Fl_Input(15, 10, 370, 30); - } - {Fl_Button* o = new Fl_Button(400, 5, 20, 10, "shift"); - o->box(FL_THIN_UP_BOX); - o->color2(3); - o->labelsize(8); - o->callback((Fl_Callback*)shift_cb, (void*)(FL_SHIFT)); - } - {Fl_Button* o = new Fl_Button(420, 5, 20, 10, "lock"); - o->box(FL_THIN_UP_BOX); - o->color2(3); - o->labelsize(8); - o->callback((Fl_Callback*)shift_cb, (void*)(FL_CAPS_LOCK)); - } - {Fl_Button* o = new Fl_Button(440, 5, 20, 10, "ctrl"); - o->box(FL_THIN_UP_BOX); - o->color2(3); - o->labelsize(8); - o->callback((Fl_Callback*)shift_cb, (void*)(FL_CTRL)); - } - {Fl_Button* o = new Fl_Button(460, 5, 20, 10, "alt"); - o->box(FL_THIN_UP_BOX); - o->color2(3); - o->labelsize(8); - o->callback((Fl_Callback*)shift_cb, (void*)(FL_ALT)); - } - {Fl_Button* o = new Fl_Button(440, 15, 20, 10, "meta"); - o->box(FL_THIN_UP_BOX); - o->color2(3); - o->labelsize(8); - o->callback((Fl_Callback*)shift_cb, (void*)(FL_META)); - } - {Fl_Button* o = new Fl_Button(420, 15, 20, 10, "?"); - o->box(FL_THIN_UP_BOX); - o->color2(3); - o->labelsize(8); - o->callback((Fl_Callback*)shift_cb, (void*)(0x20)); - } - {Fl_Button* o = new Fl_Button(400, 15, 20, 10, "num"); - o->box(FL_THIN_UP_BOX); - o->color2(3); - o->labelsize(8); - o->callback((Fl_Callback*)shift_cb, (void*)(FL_NUM_LOCK)); - } - {Fl_Button* o = new Fl_Button(400, 25, 20, 10, "b1"); - o->box(FL_THIN_UP_BOX); - o->color2(3); - o->labelsize(8); - o->callback((Fl_Callback*)shift_cb, (void*)(FL_BUTTON1)); - } - {Fl_Button* o = new Fl_Button(420, 25, 20, 10, "b2"); - o->box(FL_THIN_UP_BOX); - o->color2(3); - o->labelsize(8); - o->callback((Fl_Callback*)shift_cb, (void*)(FL_BUTTON2)); - } - {Fl_Button* o = new Fl_Button(440, 25, 20, 10, "b3"); - o->box(FL_THIN_UP_BOX); - o->color2(3); - o->labelsize(8); - o->callback((Fl_Callback*)shift_cb, (void*)(FL_BUTTON3)); - } - {Fl_Button* o = new Fl_Button(460, 15, 20, 10, "sclk"); - o->box(FL_THIN_UP_BOX); - o->color2(3); - o->labelsize(8); - o->callback((Fl_Callback*)shift_cb, (void*)(FL_SCROLL_LOCK)); - } - {Fl_Button* o = new Fl_Button(460, 25, 20, 10, "?"); - o->box(FL_THIN_UP_BOX); - o->color2(3); - o->labelsize(8); - o->callback((Fl_Callback*)shift_cb, (void*)(0x800)); - } - {Fl_Button* o = new Fl_Button(400, 35, 20, 10, "?"); - o->box(FL_THIN_UP_BOX); - o->color2(3); - o->labelsize(8); - o->callback((Fl_Callback*)shift_cb, (void*)(0x1000)); - } - {Fl_Button* o = new Fl_Button(420, 35, 20, 10, "?"); - o->box(FL_THIN_UP_BOX); - o->color2(3); - o->labelsize(8); - o->callback((Fl_Callback*)shift_cb, (void*)(0x2000)); - } - {Fl_Button* o = new Fl_Button(440, 35, 20, 10, "?"); - o->box(FL_THIN_UP_BOX); - o->color2(3); - o->labelsize(8); - o->callback((Fl_Callback*)shift_cb, (void*)(0x4000)); - } - {Fl_Button* o = new Fl_Button(460, 35, 20, 10, "?"); - o->box(FL_THIN_UP_BOX); - o->color2(3); - o->labelsize(8); - o->callback((Fl_Callback*)shift_cb, (void*)(0x8000)); - } - w->end(); - return w; -} diff --git a/fluid/keyboard_ui.h b/fluid/keyboard_ui.h deleted file mode 100644 index ec1ba7722..000000000 --- a/fluid/keyboard_ui.h +++ /dev/null @@ -1,8 +0,0 @@ -// generated by Fast Light User Interface Designer (fluid) version 0.99 -#include <FL/Fl.H> -#include <FL/Fl_Button.H> -#include <FL/Fl_Input.H> -#include <FL/Fl_Window.H> -extern void key_cb(Fl_Button*, void*); -extern void shift_cb(Fl_Button*, void*); -Fl_Window *make_window(); |
