mirror of https://github.com/fltk/fltk
191 lines
5.3 KiB
Plaintext
191 lines
5.3 KiB
Plaintext
# data file for the Fltk User Interface Designer (fluid)
|
|
version 1.00
|
|
header_name {.h}
|
|
code_name {.cxx}
|
|
gridx 5
|
|
gridy 5
|
|
snap 3
|
|
Function {callback(Fl_Widget* o, void*)} {open private return_type void
|
|
} {
|
|
code {printf("%g \\r", ((Fl_Valuator*)o)->value());
|
|
fflush(stdout);} {selected
|
|
}
|
|
}
|
|
|
|
Function {} {open
|
|
} {
|
|
Fl_Window {} {
|
|
label {Valuator classes, showing values for type()} open
|
|
xywh {382 441 567 506} color 43 selection_color 43
|
|
code0 {\#include <stdio.h>} visible
|
|
} {
|
|
Fl_Box {} {
|
|
label Fl_Slider
|
|
xywh {10 10 280 210} box ENGRAVED_BOX labelfont 1 align 17
|
|
}
|
|
Fl_Slider {} {
|
|
label 0
|
|
callback callback
|
|
xywh {30 45 20 145} selection_color 1 labelsize 8 align 1
|
|
}
|
|
Fl_Slider {} {
|
|
label FL_VERT_FILL_SLIDER
|
|
callback callback
|
|
xywh {70 55 20 145} type {Vert Fill} selection_color 1 labelsize 8
|
|
}
|
|
Fl_Slider {} {
|
|
label FL_VERT_NICE_SLIDER
|
|
callback callback
|
|
xywh {105 45 20 145} type {Vert Knob} box FLAT_BOX color 10 selection_color 1 labelsize 8 align 1
|
|
}
|
|
Fl_Box {} {
|
|
label Fl_Value_Slider
|
|
xywh {10 230 280 205} box ENGRAVED_BOX labelfont 1 align 17
|
|
}
|
|
Fl_Value_Slider {} {
|
|
label 0
|
|
callback callback
|
|
xywh {30 260 30 145} selection_color 1 labelsize 8 align 1
|
|
}
|
|
Fl_Value_Slider {} {
|
|
label FL_VERT_FILL_SLIDER
|
|
callback callback
|
|
xywh {70 275 30 140} type {Vert Fill} selection_color 1 labelsize 8
|
|
}
|
|
Fl_Value_Slider {} {
|
|
label FL_VERT_NICE_SLIDER
|
|
callback callback
|
|
xywh {110 260 20 145} type {Vert Knob} box FLAT_BOX color 10 selection_color 1 labelsize 8 align 1
|
|
}
|
|
Fl_Slider {} {
|
|
label FL_HORIZONTAL
|
|
callback callback
|
|
xywh {140 80 130 20} type Horizontal selection_color 1 labelsize 8
|
|
}
|
|
Fl_Slider {} {
|
|
label FL_HOR_FILL_SLIDER
|
|
callback callback
|
|
xywh {140 120 130 20} type {Horz Fill} selection_color 1 labelsize 8
|
|
}
|
|
Fl_Slider {} {
|
|
label FL_HOR_NICE_SLIDER
|
|
callback callback
|
|
xywh {140 160 130 20} type {Horz Knob} box FLAT_BOX color 10 selection_color 1 labelsize 8
|
|
}
|
|
Fl_Value_Slider {} {
|
|
label FL_HOR_SLIDER
|
|
callback callback
|
|
xywh {140 290 130 20} type Horizontal selection_color 1 labelsize 8
|
|
}
|
|
Fl_Value_Slider {} {
|
|
label FL_HOR_FILL_SLIDER
|
|
callback callback
|
|
xywh {140 330 130 20} type {Horz Fill} selection_color 1 labelsize 8
|
|
}
|
|
Fl_Box {} {
|
|
label Fl_Adjuster
|
|
xywh {430 10 125 120} box ENGRAVED_BOX labelfont 1 align 17
|
|
}
|
|
Fl_Value_Slider {} {
|
|
label FL_HOR_NICE_SLIDER
|
|
callback callback
|
|
xywh {140 370 130 20} type {Horz Knob} box FLAT_BOX color 10 selection_color 1 labelsize 8
|
|
}
|
|
Fl_Adjuster {} {
|
|
label {w()>h()}
|
|
callback callback
|
|
xywh {440 60 75 25} labelsize 8
|
|
}
|
|
Fl_Adjuster {} {
|
|
label {w()<h()}
|
|
callback callback
|
|
xywh {520 35 25 75} labelsize 8
|
|
}
|
|
Fl_Box {} {
|
|
label Fl_Counter
|
|
xywh {345 135 210 115} box ENGRAVED_BOX labelfont 1 align 17
|
|
}
|
|
Fl_Counter {} {
|
|
label 0
|
|
callback callback
|
|
xywh {360 160 180 30} labelsize 8
|
|
}
|
|
Fl_Counter {} {
|
|
label FL_SIMPLE_COUNTER
|
|
callback callback
|
|
xywh {360 205 180 30} type Simple labelsize 8
|
|
}
|
|
Fl_Box {} {
|
|
label Fl_Dial
|
|
xywh {300 260 255 105} box ENGRAVED_BOX labelfont 1 align 17
|
|
}
|
|
Fl_Dial {} {
|
|
label 0
|
|
callback callback
|
|
xywh {315 280 65 65} color 10 selection_color 1 labelsize 8 value 0.5
|
|
code0 {o->angles(0,315);}
|
|
}
|
|
Fl_Dial {} {
|
|
label FL_LINE_DIAL
|
|
callback callback
|
|
xywh {395 280 65 65} type Line color 10 selection_color 1 labelsize 8 value 0.5
|
|
}
|
|
Fl_Dial {} {
|
|
label FL_FILL_DIAL
|
|
callback callback
|
|
xywh {475 280 65 65} type Fill color 10 selection_color 1 labelsize 8 value 1
|
|
code0 {o->angles(0,360);}
|
|
}
|
|
Fl_Box {} {
|
|
label Fl_Roller
|
|
xywh {300 375 145 120} box ENGRAVED_BOX labelfont 1 align 17
|
|
}
|
|
Fl_Roller {} {
|
|
label 0
|
|
callback callback
|
|
xywh {315 390 20 95} labelsize 8
|
|
}
|
|
Fl_Roller {} {
|
|
label FL_HORIZONTAL
|
|
callback callback
|
|
xywh {340 430 90 20} type Horizontal labelsize 8
|
|
}
|
|
Fl_Box {} {
|
|
label Fl_Value_Input
|
|
xywh {10 445 140 50} box ENGRAVED_BOX labelfont 1 align 17
|
|
}
|
|
Fl_Box {} {
|
|
label {Some widgets have color(FL_GREEN) and color2(FL_RED) to show the areas these effect.}
|
|
xywh {455 375 100 120} box BORDER_FRAME color 0 selection_color 0 labelsize 10 align 128
|
|
}
|
|
Fl_Box {} {
|
|
label Fl_Value_Output
|
|
xywh {155 445 135 50} box ENGRAVED_BOX labelfont 1 align 17
|
|
}
|
|
Fl_Value_Input {} {
|
|
label 0
|
|
callback callback
|
|
xywh {30 460 110 30} labelsize 8 maximum 100 step 0.1
|
|
}
|
|
Fl_Value_Output {} {
|
|
label 0
|
|
callback callback
|
|
xywh {170 460 110 30} labelsize 8 maximum 100 step 0.1
|
|
}
|
|
Fl_Box {} {
|
|
label { Fl_Scrollbar}
|
|
xywh {295 10 130 120} box ENGRAVED_BOX labelfont 1 align 21
|
|
}
|
|
Fl_Scrollbar {} {
|
|
label 0
|
|
callback callback
|
|
xywh {395 20 20 105} labelsize 8 align 1 maximum 100
|
|
}
|
|
Fl_Scrollbar {} {
|
|
label FL_HORIZONTAL
|
|
callback callback
|
|
xywh {300 65 95 20} type Horizontal labelsize 8 maximum 100
|
|
}
|
|
}
|
|
}
|