diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 1998-10-21 17:20:18 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 1998-10-21 17:20:18 +0000 |
| commit | 3b8193c002d8fb21be51b5a48ca224eed5fcac23 (patch) | |
| tree | bf1763be53b73cad97b16936beba1884a1dd9cd7 /test/tabs.C | |
| parent | 23a2b82ace580e60de84c4959d43c6ec9b2d5f1a (diff) | |
Removed demo source files that are generated via Fluid.
Added fluid build rule to test Makefile.
Removed fluid build rules from fluid Makefile.
git-svn-id: file:///fltk/svn/fltk/trunk@37 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/tabs.C')
| -rw-r--r-- | test/tabs.C | 84 |
1 files changed, 0 insertions, 84 deletions
diff --git a/test/tabs.C b/test/tabs.C deleted file mode 100644 index 239510458..000000000 --- a/test/tabs.C +++ /dev/null @@ -1,84 +0,0 @@ -// generated by Fast Light User Interface Designer (fluid) version 0.99 - -#include "tabs.H" - -Fl_Window *foo_window; - -static void cb_cancel(Fl_Button*, void*) { - exit(1); -} - -static void cb_OK(Fl_Return_Button*, void*) { - exit(0); -} - -int main(int argc, char **argv) { - Fl_Window *w; - { Fl_Window* o = new Fl_Window(321, 324); - w = foo_window = o; - Fl_Group::current()->resizable(o); - { Fl_Tabs* o = new Fl_Tabs(10, 10, 300, 200); - o->color2(15); - Fl_Group::current()->resizable(o); - { Fl_Group* o = new Fl_Group(10, 30, 300, 180, "Label1"); - o->hide(); - Fl_Group::current()->resizable(o); - new Fl_Input(60, 50, 240, 40, "input:"); - new Fl_Input(60, 90, 240, 30, "input2:"); - new Fl_Input(60, 120, 240, 80, "input3:"); - o->end(); - Fl_Group::current()->resizable(o); - } - { Fl_Group* o = new Fl_Group(10, 30, 300, 180, "tab2"); - o->hide(); - new Fl_Button(20, 60, 100, 30, "button1"); - new Fl_Input(140, 100, 100, 30, "input in box2"); - new Fl_Button(30, 140, 260, 30, "This is stuff inside the Fl_Group \"tab2\""); - o->end(); - } - { Fl_Group* o = new Fl_Group(10, 30, 300, 180, "tab3"); - o->hide(); - new Fl_Button(20, 60, 60, 80, "button2"); - new Fl_Button(80, 60, 60, 80, "button"); - new Fl_Button(140, 60, 60, 80, "button"); - o->end(); - } - { Fl_Group* o = new Fl_Group(10, 30, 300, 180, "tab4"); - o->labelfont(2); - o->hide(); - new Fl_Button(20, 50, 60, 110, "button2"); - new Fl_Button(80, 50, 60, 110, "button"); - new Fl_Button(140, 50, 60, 110, "button"); - o->end(); - } - { Fl_Group* o = new Fl_Group(10, 30, 300, 180, " tab5 "); - o->labeltype(FL_ENGRAVED_LABEL); - new Fl_Button(20, 80, 60, 80, "button2"); - new Fl_Button(90, 90, 60, 80, "button"); - { Fl_Clock* o = new Fl_Clock(160, 50, 100, 100, "Make sure this clock does not use processor time when this tab is hidden o\ -r window is iconized"); - o->box(FL_OSHADOW_BOX); - o->color(238); - o->color2(0); - o->labelfont(8); - o->labelsize(10); - o->align(130); - } - o->end(); - } - o->end(); - Fl_Group::current()->resizable(o); - } - new Fl_Input(60, 220, 130, 30, "inputA:"); - new Fl_Input(60, 250, 250, 30, "inputB:"); - { Fl_Button* o = new Fl_Button(180, 290, 60, 30, "cancel"); - o->callback((Fl_Callback*)cb_cancel); - } - { Fl_Return_Button* o = new Fl_Return_Button(250, 290, 60, 30, "OK"); - o->callback((Fl_Callback*)cb_OK); - } - w->end(); - } - w->show(argc, argv); - return Fl::run(); -} |
