a73c7f58e6
FLUID GUI tweeks (OK and Cancel use now consistent, spacing now consistent, Courier font for code, etc.) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1039 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
301 lines
8.1 KiB
Plaintext
301 lines
8.1 KiB
Plaintext
# data file for the Fltk User Interface Designer (fluid)
|
|
version 1.0008
|
|
header_name {.h}
|
|
code_name {.cxx}
|
|
gridx 5
|
|
gridy 5
|
|
snap 3
|
|
Function {make_widget_panel()} {open
|
|
} {
|
|
Fl_Window {} {open
|
|
xywh {728 171 370 485} resizable hotspot visible
|
|
} {
|
|
Fl_Input {} {
|
|
label {Name:}
|
|
callback name_cb
|
|
xywh {90 10 210 20} box THIN_UP_BOX when 0
|
|
}
|
|
Fl_Light_Button {} {
|
|
label public
|
|
callback name_public_cb
|
|
xywh {300 10 60 20} box THIN_UP_BOX selection_color 1 labelsize 10 when 1
|
|
}
|
|
Fl_Input {} {
|
|
label {Class:}
|
|
user_data 4
|
|
callback subclass_cb
|
|
xywh {90 35 170 20} box THIN_UP_BOX when 0 textfont 4
|
|
}
|
|
Fl_Choice {} {
|
|
callback subtype_cb
|
|
xywh {260 35 100 20} box THIN_UP_BOX
|
|
} {}
|
|
Fl_Input {} {
|
|
label {Label:}
|
|
callback label_cb
|
|
xywh {90 60 270 20} box THIN_UP_BOX when 1
|
|
}
|
|
Fl_Choice {} {
|
|
label {Label Type:}
|
|
callback labeltype_cb
|
|
xywh {90 80 150 20} box THIN_UP_BOX
|
|
code0 {extern Fl_Menu_Item labeltypemenu[];}
|
|
code1 {o->menu(labeltypemenu);}
|
|
} {}
|
|
Fl_Button {} {
|
|
label {@-1<-}
|
|
user_data FL_ALIGN_LEFT
|
|
callback align_cb
|
|
xywh {240 80 20 20} type Toggle box THIN_UP_BOX labeltype SYMBOL_LABEL labelcolor 8
|
|
}
|
|
Fl_Button {} {
|
|
label {@-1->}
|
|
user_data FL_ALIGN_RIGHT
|
|
callback align_cb
|
|
xywh {260 80 20 20} type Toggle box THIN_UP_BOX labeltype SYMBOL_LABEL labelcolor 8
|
|
}
|
|
Fl_Button {} {
|
|
label {@-18}
|
|
user_data FL_ALIGN_TOP
|
|
callback align_cb
|
|
xywh {280 80 20 20} type Toggle box THIN_UP_BOX labeltype SYMBOL_LABEL labelcolor 8
|
|
}
|
|
Fl_Button {} {
|
|
label {@-12}
|
|
user_data FL_ALIGN_BOTTOM
|
|
callback align_cb
|
|
xywh {300 80 20 20} type Toggle box THIN_UP_BOX labeltype SYMBOL_LABEL labelcolor 8
|
|
}
|
|
Fl_Button {} {
|
|
label {@-3square}
|
|
user_data FL_ALIGN_INSIDE
|
|
callback align_cb
|
|
xywh {320 80 20 20} type Toggle box THIN_UP_BOX labeltype SYMBOL_LABEL labelcolor 8
|
|
}
|
|
Fl_Button {} {
|
|
label wrap
|
|
user_data FL_ALIGN_WRAP
|
|
callback align_cb
|
|
xywh {340 80 20 10} type Toggle box THIN_UP_BOX labelsize 8
|
|
}
|
|
Fl_Button {} {
|
|
label clip
|
|
user_data FL_ALIGN_CLIP
|
|
callback align_cb
|
|
xywh {340 90 20 10} type Toggle box THIN_UP_BOX labelsize 8
|
|
}
|
|
Fl_Choice {} {
|
|
label {Label Font:}
|
|
callback labelfont_cb
|
|
xywh {90 100 170 20} box THIN_UP_BOX
|
|
code0 {extern Fl_Menu_Item fontmenu[];}
|
|
code1 {o->menu(fontmenu);}
|
|
} {}
|
|
Fl_Value_Input {} {
|
|
callback labelsize_cb
|
|
xywh {260 100 50 20} box THIN_UP_BOX maximum 100 step 1 value 14
|
|
}
|
|
Fl_Button {} {
|
|
label {Label Color}
|
|
callback labelcolor_cb
|
|
xywh {310 100 50 20} box THIN_UP_BOX labelsize 8
|
|
}
|
|
Fl_Choice {} {
|
|
label {Box:}
|
|
callback box_cb
|
|
xywh {90 125 220 20} box THIN_UP_BOX
|
|
code0 {extern Fl_Menu_Item boxmenu[];}
|
|
code1 {o->menu(boxmenu);}
|
|
} {}
|
|
Fl_Button {} {
|
|
label Color
|
|
callback color_cb
|
|
xywh {310 125 50 20} box THIN_UP_BOX labelsize 8
|
|
}
|
|
Fl_Choice {} {
|
|
label {Down Box:}
|
|
callback down_box_cb
|
|
xywh {90 145 220 20} box THIN_UP_BOX
|
|
code0 {extern Fl_Menu_Item boxmenu[];}
|
|
code1 {o->menu(boxmenu);}
|
|
} {}
|
|
Fl_Button {} {
|
|
label {Select Color}
|
|
callback color2_cb
|
|
xywh {310 145 50 20} box THIN_UP_BOX labelsize 8
|
|
}
|
|
Fl_Choice {} {
|
|
label {Text Font:}
|
|
callback textfont_cb
|
|
xywh {90 170 170 20} box THIN_UP_BOX hide
|
|
code0 {extern Fl_Menu_Item fontmenu[];}
|
|
code1 {o->menu(fontmenu);}
|
|
} {}
|
|
Fl_Input {} {
|
|
label {xclass:}
|
|
callback xclass_cb
|
|
xywh {90 170 170 20} box THIN_UP_BOX when 0
|
|
}
|
|
Fl_Button {} {
|
|
label {Shortcut:}
|
|
callback shortcut_in_cb
|
|
xywh {90 170 270 20} box THIN_UP_BOX color 7 selection_color 7 align 4
|
|
code0 {\#include "Shortcut_Button.h"}
|
|
class Shortcut_Button
|
|
}
|
|
Fl_Value_Input {} {
|
|
callback textsize_cb
|
|
xywh {260 170 50 20} box THIN_UP_BOX maximum 100 step 1 value 14 hide
|
|
}
|
|
Fl_Button {} {
|
|
label {Text Color}
|
|
callback textcolor_cb
|
|
xywh {310 170 50 20} box THIN_UP_BOX labelsize 8 hide
|
|
}
|
|
Fl_Value_Input {} {
|
|
label {Size:}
|
|
callback slider_size_cb
|
|
xywh {40 205 60 20} box THIN_UP_BOX labelsize 10 align 5 step 0.010101
|
|
}
|
|
Fl_Value_Input {} {
|
|
label {Minimum:}
|
|
callback min_cb
|
|
xywh {105 205 60 20} box THIN_UP_BOX labelsize 10 align 5
|
|
}
|
|
Fl_Value_Input {} {
|
|
label {Maximum:}
|
|
callback max_cb
|
|
xywh {170 205 60 20} box THIN_UP_BOX labelsize 10 align 5 value 1
|
|
}
|
|
Fl_Value_Input {} {
|
|
label {Step:}
|
|
callback step_cb
|
|
xywh {235 205 60 20} box THIN_UP_BOX labelsize 10 align 5
|
|
}
|
|
Fl_Value_Input {} {
|
|
label {Value:}
|
|
callback value_cb
|
|
xywh {300 205 60 20} box THIN_UP_BOX labelsize 10 align 5
|
|
}
|
|
Fl_Group {} {
|
|
callback propagate_load
|
|
xywh {20 230 340 20} align 5
|
|
} {
|
|
Fl_Light_Button {} {
|
|
label non_modal
|
|
callback non_modal_cb
|
|
xywh {30 230 70 20} box THIN_UP_BOX selection_color 1 labelsize 9 align 148
|
|
}
|
|
Fl_Light_Button {} {
|
|
label visible
|
|
callback visible_cb
|
|
xywh {105 230 60 20} box THIN_UP_BOX selection_color 1 labelsize 10
|
|
}
|
|
Fl_Light_Button {} {
|
|
label modal
|
|
callback modal_cb
|
|
xywh {105 230 60 20} box THIN_UP_BOX selection_color 1 labelsize 10
|
|
}
|
|
Fl_Light_Button {} {
|
|
label active
|
|
callback active_cb
|
|
xywh {170 230 60 20} box THIN_UP_BOX selection_color 1 labelsize 10
|
|
}
|
|
Fl_Light_Button {} {
|
|
label border
|
|
callback border_cb
|
|
xywh {170 230 60 20} box THIN_UP_BOX selection_color 1 labelsize 10
|
|
}
|
|
Fl_Light_Button {} {
|
|
label resizable
|
|
callback resizable_cb
|
|
xywh {235 230 60 20} box THIN_UP_BOX selection_color 1 labelsize 10 when 1
|
|
}
|
|
Fl_Light_Button {} {
|
|
label hotspot
|
|
callback hotspot_cb
|
|
xywh {300 230 60 20} box THIN_UP_BOX selection_color 1 labelsize 10 when 1
|
|
}
|
|
}
|
|
Fl_Input {v_input[0]} {
|
|
label {Extra Code:}
|
|
user_data 0
|
|
callback v_input_cb
|
|
xywh {90 260 270 20} box THIN_UP_BOX when 0 textfont 4
|
|
}
|
|
Fl_Input {v_input[1]} {
|
|
user_data 1
|
|
callback v_input_cb
|
|
xywh {90 280 270 20} box THIN_UP_BOX when 0 textfont 4
|
|
}
|
|
Fl_Input {v_input[2]} {
|
|
user_data 2
|
|
callback v_input_cb
|
|
xywh {90 300 270 20} box THIN_UP_BOX when 0 textfont 4
|
|
}
|
|
Fl_Input {v_input[3]} {
|
|
user_data 3
|
|
callback v_input_cb
|
|
xywh {90 320 270 20} box THIN_UP_BOX when 0 textfont 4
|
|
}
|
|
Fl_Box {} {
|
|
label {Callback:}
|
|
xywh {0 350 90 20} align 24
|
|
}
|
|
Fl_Input {} {
|
|
callback callback_cb
|
|
xywh {90 350 270 50} type Multiline box THIN_UP_BOX when 0 textfont 4
|
|
}
|
|
Fl_Box {} {
|
|
label label
|
|
xywh {90 370 100 30} hide deactivate resizable
|
|
}
|
|
Fl_Input {} {
|
|
label {user_data:}
|
|
callback user_data_cb
|
|
xywh {90 400 170 20} box THIN_UP_BOX when 0 textfont 4
|
|
}
|
|
Fl_Input {} {
|
|
label {Type:}
|
|
callback user_data_type_cb
|
|
xywh {300 400 60 20} box THIN_UP_BOX when 0 textfont 4
|
|
}
|
|
Fl_Choice {} {
|
|
label {When:}
|
|
callback when_cb
|
|
xywh {90 420 100 20} box THIN_UP_BOX when 0
|
|
code0 {extern Fl_Menu_Item whenmenu[];}
|
|
code1 {o->menu(whenmenu);}
|
|
} {}
|
|
Fl_Light_Button {} {
|
|
label {no change}
|
|
callback when_button_cb
|
|
xywh {190 420 70 20} box THIN_UP_BOX selection_color 1 labelsize 10 when 0
|
|
}
|
|
Fl_Group {} {open
|
|
xywh {10 450 350 25}
|
|
} {
|
|
Fl_Button {} {
|
|
label {no &overlay}
|
|
callback overlay_cb
|
|
xywh {25 450 80 25} labelcolor 1
|
|
}
|
|
Fl_Button {} {
|
|
label Revert
|
|
callback revert_cb
|
|
xywh {110 450 80 25}
|
|
}
|
|
Fl_Button {} {
|
|
label Cancel
|
|
callback cancel_cb
|
|
xywh {280 450 80 25}
|
|
}
|
|
Fl_Return_Button {} {
|
|
label OK
|
|
callback ok_cb selected
|
|
xywh {195 450 80 25}
|
|
}
|
|
}
|
|
}
|
|
}
|