Line | |
---|
1 | # data file for the Fltk User Interface Designer (fluid) |
---|
2 | version 1.0300 |
---|
3 | header_name {.h} |
---|
4 | code_name {.cxx} |
---|
5 | Function {} {open |
---|
6 | } { |
---|
7 | Fl_Window {} {open |
---|
8 | xywh {333 489 366 261} type Double resizable visible |
---|
9 | } { |
---|
10 | Fl_Button {} { |
---|
11 | label {@<-} |
---|
12 | callback {Fl_Window* w = o->window(); |
---|
13 | w->position(w->x()-50,w->y());} |
---|
14 | xywh {20 40 40 40} |
---|
15 | } |
---|
16 | Fl_Button {} { |
---|
17 | label {@2->} |
---|
18 | callback {Fl_Window* w = o->window(); |
---|
19 | w->position(w->x(),w->y()+50);} |
---|
20 | xywh {60 80 40 40} |
---|
21 | } |
---|
22 | Fl_Button {} { |
---|
23 | label {@->} |
---|
24 | callback {Fl_Window* w = o->window(); |
---|
25 | w->position(w->x()+50,w->y());} |
---|
26 | xywh {100 40 40 40} |
---|
27 | } |
---|
28 | Fl_Button {} { |
---|
29 | label {@8->} |
---|
30 | callback {Fl_Window* w = o->window(); |
---|
31 | w->position(w->x(),w->y()-50);} |
---|
32 | xywh {60 0 40 40} |
---|
33 | } |
---|
34 | Fl_Button {} { |
---|
35 | label grow |
---|
36 | callback {Fl_Window* w = o->window(); |
---|
37 | w->size(w->w()+20, w->h()+20);} |
---|
38 | xywh {30 130 110 40} labelfont 1 labelsize 18 |
---|
39 | } |
---|
40 | Fl_Button {} { |
---|
41 | label shrink |
---|
42 | callback {Fl_Window* w = o->window(); |
---|
43 | w->size(w->w()-20, w->h()-20);} |
---|
44 | xywh {30 190 110 40} labelfont 1 labelsize 18 |
---|
45 | } |
---|
46 | Fl_Box {} { |
---|
47 | label {This is a test of program-generated resize() of a window. The window should move or resize once when each button is clicked. The program and window manager should not go into fits echoing resizes back and forth!} selected |
---|
48 | xywh {150 10 160 220} box BORDER_BOX align 148 |
---|
49 | } |
---|
50 | } |
---|
51 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.