summaryrefslogtreecommitdiff
path: root/test/inactive.fl
blob: 4713fc97fd42e2fd70b8c0566ce0586c9164ea0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# data file for the Fltk User Interface Designer (fluid)
version 0.99 
gridx 5 
gridy 5 
snap 3
Function {} {open
} {
  Fl_Window {} {open
    xywh {470 454 420 295} visible
  } {
    Fl_Group the_group {
      label {activate()/deactivate() called on this Fl_Group} open
      xywh {25 25 375 235} box ENGRAVED_FRAME align 17
    } {
      Fl_Button {} {
        label button
        xywh {50 50 105 25}
      }
      Fl_Group {} {
        label {Child group} open
        xywh {50 100 105 85} box DOWN_FRAME
      } {
        Fl_Check_Button {} {
          label red
          xywh {50 100 105 25} type Radio down_box DIAMOND_DOWN_BOX labelcolor 1
        }
        Fl_Check_Button {} {
          label green
          xywh {50 120 105 25} type Radio down_box DIAMOND_DOWN_BOX selection_color 2 labelcolor 2
        }
        Fl_Check_Button {} {
          label blue
          xywh {50 140 105 25} type Radio down_box DIAMOND_DOWN_BOX selection_color 4 labelcolor 4
        }
        Fl_Check_Button {} {
          label white
          xywh {50 160 105 25} type Radio down_box DIAMOND_DOWN_BOX selection_color 7 labelcolor 7
        }
      }
      Fl_Slider {} {
        label Fl_Slider
        xywh {165 50 24 150} value 0.5
      }
      Fl_Input {} {
        xywh {195 50 195 30}
        code0 {o->static_value("Fl_Input");}
      }
      Fl_Menu_Button {} {
        label menu open
        xywh {235 105 110 30}
      } {
        menuitem {} {
          label item
          xywh {0 0 100 20}
        }
        menuitem {} {
          label item
          xywh {10 10 100 20}
        }
        menuitem {} {
          label item
          xywh {20 20 100 20}
        }
        menuitem {} {
          label item
          xywh {30 30 100 20}
        }
        menuitem {} {
          label item
          xywh {40 40 100 20}
        }
      }
      Fl_Box {} {
        label Fl_Box
        xywh {240 205 145 50} box EMBOSSED_FRAME labeltype SHADOW_LABEL labelfont 3 labelsize 38
      }
      Fl_Value_Output {} {
        label {value:}
        xywh {255 165 130 30} maximum 10000 step 1 textfont 5 textsize 24 textcolor 4
      }
      Fl_Scrollbar {} {
        label scrollbar selected
        xywh {40 220 180 20} type Horizontal maximum 100
      }
    }
    Fl_Button {} {
      label active
      callback {the_group->activate();}
      xywh {25 265 185 25} type Radio value 1
    }
    Fl_Button {} {
      label inactive
      callback {the_group->deactivate();}
      xywh {220 265 180 25} type Radio
    }
  }
}