1998-10-06 18:21:25 +00:00
# data file for the Fltk User Interface Designer (fluid)
2016-01-30 00:56:42 +00:00
version 1.0400
2015-07-09 02:09:33 +00:00
header_name {.h}
2014-10-05 00:03:27 +00:00
code_name {.cxx}
2023-07-14 23:42:09 +02:00
snap {
ver 1
current_suite FLTK
current_preset 1
}
1998-10-06 18:21:25 +00:00
Function {} {open
} {
2023-07-14 23:42:09 +02:00
Fl_Window {} {open selected
xywh {397 202 318 443} type Double resizable visible
1998-10-06 18:21:25 +00:00
} {
Fl_Slider control {
label {move
this}
callback {fast->value(o->value());
if (!Fl::pushed()) slow->value(o->value());}
xywh {90 200 30 200}
code0 {o->when(FL_WHEN_CHANGED|FL_WHEN_RELEASE|FL_WHEN_NOT_CHANGED);}
}
Fl_Slider fast {
label {fast
2023-07-14 23:42:09 +02:00
redraw}
1999-05-06 06:21:53 +00:00
xywh {140 200 30 200}
code0 {o->set_output();}
1998-10-06 18:21:25 +00:00
}
Fl_Slider slow {
label {slow
2023-07-14 23:42:09 +02:00
redraw}
1999-05-06 06:21:53 +00:00
xywh {190 200 30 200}
code0 {o->set_output();}
1998-10-06 18:21:25 +00:00
}
Fl_Box {} {
label {The left slider has changed( FL_WHEN_CHANGED | FL_WHEN_RELEASE | FL_WHEN_NOT_CHANGED) so it produces a callback on both drag and release mouse events.
The middle slider (representing a widget with low overhead) is changed on every mouse movement.
1999-05-06 06:21:53 +00:00
The right slider (representing a widget with high overhead) is only updated when the mouse is released, by checking if Fl::pushed() is zero.}
xywh {10 10 300 180} box DOWN_BOX color 53 selection_color 47 labelfont 4 labelsize 12 align 148
1998-10-06 18:21:25 +00:00
}
}
2015-07-09 02:09:33 +00:00
}