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/resize.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/resize.C')
| -rw-r--r-- | test/resize.C | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/test/resize.C b/test/resize.C deleted file mode 100644 index 11185a2d0..000000000 --- a/test/resize.C +++ /dev/null @@ -1,71 +0,0 @@ -// generated by Fast Light User Interface Designer (fluid) version 0.99 -#include "resize.H" - -static void callback_1008ed30(Fl_Button* o, void*) { -Fl_Window* w = o->window(); -w->position(w->x()-50,w->y()); -} - -static void callback_1008ee58(Fl_Button* o, void*) { -Fl_Window* w = o->window(); -w->position(w->x(),w->y()+50); -} - -static void callback_1008ef40(Fl_Button* o, void*) { -Fl_Window* w = o->window(); -w->position(w->x()+50,w->y()); -} - -static void callback_1008f048(Fl_Button* o, void*) { -Fl_Window* w = o->window(); -w->position(w->x(),w->y()-50); -} - -static void callback_1008f130(Fl_Button* o, void*) { -Fl_Window* w = o->window(); -w->size(w->w()+50, w->h()+50); -} - -static void callback_1008f360(Fl_Button* o, void*) { -Fl_Window* w = o->window(); -w->size(w->w()/2+1, w->h()/2+1); -} - -int main(int argc, char **argv) { - Fl_Window *w; - {Fl_Window* o = new Fl_Window(366, 261); - w = o; - Fl_Group::current()->resizable(o); - {Fl_Button* o = new Fl_Button(20, 40, 40, 40, "@<-"); - o->labeltype(FL_SYMBOL_LABEL); - o->callback((Fl_Callback*)callback_1008ed30); - } - {Fl_Button* o = new Fl_Button(60, 80, 40, 40, "@2->"); - o->labeltype(FL_SYMBOL_LABEL); - o->callback((Fl_Callback*)callback_1008ee58); - } - {Fl_Button* o = new Fl_Button(100, 40, 40, 40, "@->"); - o->labeltype(FL_SYMBOL_LABEL); - o->callback((Fl_Callback*)callback_1008ef40); - } - {Fl_Button* o = new Fl_Button(60, 0, 40, 40, "@8->"); - o->labeltype(FL_SYMBOL_LABEL); - o->callback((Fl_Callback*)callback_1008f048); - } - {Fl_Button* o = new Fl_Button(30, 130, 110, 40, "grow"); - o->labeltype(FL_SYMBOL_LABEL); - o->labelfont(1); - o->labelsize(18); - o->callback((Fl_Callback*)callback_1008f130); - } - {Fl_Button* o = new Fl_Button(30, 190, 110, 40, "shrink"); - o->labeltype(FL_SYMBOL_LABEL); - o->labelfont(1); - o->labelsize(18); - o->callback((Fl_Callback*)callback_1008f360); - } - w->end(); - } - w->show(argc, argv); - return Fl::run(); -} |
