2001-12-21 17:35:34 +03:00
|
|
|
# data file for the Fltk User Interface Designer (fluid)
|
2017-11-02 06:03:12 +03:00
|
|
|
version 1.0304
|
|
|
|
header_name {.h}
|
2002-05-12 15:12:56 +04:00
|
|
|
code_name {.cxx}
|
2017-11-02 06:03:12 +03:00
|
|
|
decl {\#include <FL/Fl_Simple_Terminal.H>} {public global
|
|
|
|
}
|
2007-01-18 13:40:37 +03:00
|
|
|
|
2007-01-18 13:41:27 +03:00
|
|
|
Function {} {open
|
2007-01-18 13:40:37 +03:00
|
|
|
} {
|
2007-01-18 13:41:27 +03:00
|
|
|
Fl_Window {} {
|
|
|
|
label {Valuator classes, showing values for type()} open
|
2017-11-02 06:03:12 +03:00
|
|
|
xywh {400 199 580 640} type Double color 43 selection_color 43
|
|
|
|
code0 {\#include <stdio.h>} visible
|
2001-12-21 17:35:34 +03:00
|
|
|
} {
|
2007-01-18 13:41:27 +03:00
|
|
|
Fl_Box {} {
|
|
|
|
label Fl_Slider
|
|
|
|
xywh {10 10 280 210} box ENGRAVED_BOX labelfont 1 align 17
|
|
|
|
}
|
|
|
|
Fl_Slider {} {
|
|
|
|
label 0
|
2017-11-02 06:03:12 +03:00
|
|
|
user_data {"Fl_Slider FL_VERT_SLIDER"}
|
2007-01-18 13:41:27 +03:00
|
|
|
callback callback
|
|
|
|
tooltip {Vertical Slider} xywh {30 45 20 145} selection_color 1 labelsize 8 align 1
|
|
|
|
}
|
|
|
|
Fl_Slider {} {
|
|
|
|
label FL_VERT_FILL_SLIDER
|
2017-11-02 06:03:12 +03:00
|
|
|
user_data {"Fl_Slider FL_VERT_FILL_SLIDER"}
|
2007-01-18 13:41:27 +03:00
|
|
|
callback callback
|
|
|
|
xywh {70 55 20 145} type {Vert Fill} selection_color 1 labelsize 8
|
|
|
|
}
|
|
|
|
Fl_Slider {} {
|
|
|
|
label FL_VERT_NICE_SLIDER
|
2017-11-02 06:03:12 +03:00
|
|
|
user_data {"Fl_Slider FL_VERT_NICE_SLIDER"}
|
2007-01-18 13:41:27 +03:00
|
|
|
callback callback
|
|
|
|
xywh {105 45 20 145} type {Vert Knob} box FLAT_BOX color 10 selection_color 1 labelsize 8 align 1
|
|
|
|
}
|
|
|
|
Fl_Slider {} {
|
|
|
|
label FL_HORIZONTAL
|
2017-11-02 06:03:12 +03:00
|
|
|
user_data {"Fl_Slider FL_HORIZONTAL"}
|
2007-01-18 13:41:27 +03:00
|
|
|
callback callback
|
|
|
|
xywh {140 80 130 20} type Horizontal selection_color 1 labelsize 8
|
|
|
|
}
|
|
|
|
Fl_Slider {} {
|
|
|
|
label FL_HOR_FILL_SLIDER
|
2017-11-02 06:03:12 +03:00
|
|
|
user_data {"Fl_Slider FL_HOR_FILL_SLIDER"}
|
2007-01-18 13:41:27 +03:00
|
|
|
callback callback
|
|
|
|
xywh {140 120 130 20} type {Horz Fill} selection_color 1 labelsize 8
|
|
|
|
}
|
|
|
|
Fl_Slider {} {
|
|
|
|
label FL_HOR_NICE_SLIDER
|
2017-11-02 06:03:12 +03:00
|
|
|
user_data {"Fl_Slider FL_HOR_NICE_SLIDER"}
|
2007-01-18 13:41:27 +03:00
|
|
|
callback callback
|
|
|
|
xywh {140 160 130 20} type {Horz Knob} box FLAT_BOX color 10 selection_color 1 labelsize 8
|
|
|
|
}
|
|
|
|
Fl_Box {} {
|
|
|
|
label Fl_Value_Slider
|
|
|
|
xywh {10 230 280 210} box ENGRAVED_BOX labelfont 1 align 17
|
|
|
|
}
|
|
|
|
Fl_Value_Slider {} {
|
|
|
|
label 0
|
2017-11-02 06:03:12 +03:00
|
|
|
user_data {"FL_VERT_SLIDER"}
|
2007-01-18 13:41:27 +03:00
|
|
|
callback callback
|
|
|
|
tooltip {Value Slider} xywh {30 260 30 145} selection_color 1 labelsize 8 align 1
|
|
|
|
}
|
|
|
|
Fl_Value_Slider {} {
|
|
|
|
label FL_VERT_FILL_SLIDER
|
2017-11-02 06:03:12 +03:00
|
|
|
user_data {"Fl_Value_Slider FL_VERT_FILL_SLIDER"}
|
2007-01-18 13:41:27 +03:00
|
|
|
callback callback
|
|
|
|
xywh {70 275 30 140} type {Vert Fill} selection_color 1 labelsize 8
|
|
|
|
}
|
|
|
|
Fl_Value_Slider {} {
|
|
|
|
label FL_VERT_NICE_SLIDER
|
2017-11-02 06:03:12 +03:00
|
|
|
user_data {"Fl_Value_Slider FL_VERT_NICE_SLIDER"}
|
2007-01-18 13:41:27 +03:00
|
|
|
callback callback
|
|
|
|
xywh {110 260 20 145} type {Vert Knob} box FLAT_BOX color 10 selection_color 1 labelsize 8 align 1
|
|
|
|
}
|
|
|
|
Fl_Value_Slider {} {
|
|
|
|
label FL_HOR_SLIDER
|
2017-11-02 06:03:12 +03:00
|
|
|
user_data {"Fl_Value_Slider FL_HOR_SLIDER"}
|
2007-01-18 13:41:27 +03:00
|
|
|
callback callback
|
|
|
|
xywh {140 290 130 20} type Horizontal selection_color 1 labelsize 8
|
|
|
|
}
|
|
|
|
Fl_Value_Slider {} {
|
|
|
|
label FL_HOR_FILL_SLIDER
|
2017-11-02 06:03:12 +03:00
|
|
|
user_data {"Fl_Value_Slider FL_HOR_FILL_SLIDER"}
|
2007-01-18 13:41:27 +03:00
|
|
|
callback callback
|
|
|
|
xywh {140 330 130 20} type {Horz Fill} selection_color 1 labelsize 8
|
|
|
|
}
|
|
|
|
Fl_Value_Slider {} {
|
|
|
|
label FL_HOR_NICE_SLIDER
|
2017-11-02 06:03:12 +03:00
|
|
|
user_data {"Fl_Value_Slider FL_HOR_NICE_SLIDER"}
|
2007-01-18 13:41:27 +03:00
|
|
|
callback callback
|
|
|
|
xywh {140 370 130 20} type {Horz Knob} box FLAT_BOX color 10 selection_color 1 labelsize 8
|
|
|
|
}
|
|
|
|
Fl_Box {} {
|
|
|
|
label Fl_Value_Input
|
|
|
|
xywh {10 450 135 50} box ENGRAVED_BOX labelfont 1 align 17
|
|
|
|
}
|
|
|
|
Fl_Value_Input {} {
|
|
|
|
label 0
|
2017-11-02 06:03:12 +03:00
|
|
|
user_data {"Fl_Value_Input"}
|
2007-01-18 13:41:27 +03:00
|
|
|
callback callback
|
|
|
|
tooltip {Value Input} xywh {30 470 105 25} labelsize 8 maximum 100 step 0.1
|
|
|
|
}
|
|
|
|
Fl_Box {} {
|
|
|
|
label Fl_Value_Output
|
2017-11-02 06:03:12 +03:00
|
|
|
user_data {"Fl_Value_Output"}
|
2007-01-18 13:41:27 +03:00
|
|
|
xywh {155 450 135 50} box ENGRAVED_BOX labelfont 1 align 17
|
|
|
|
}
|
|
|
|
Fl_Value_Output {} {
|
|
|
|
label 0
|
|
|
|
callback callback
|
|
|
|
tooltip {Value Output} xywh {170 470 105 25} labelsize 8 maximum 100 step 0.1
|
|
|
|
}
|
|
|
|
Fl_Box {} {
|
|
|
|
label { Fl_Scrollbar}
|
|
|
|
xywh {300 10 130 120} box ENGRAVED_BOX labelfont 1 align 21
|
|
|
|
}
|
|
|
|
Fl_Scrollbar {} {
|
|
|
|
label FL_HORIZONTAL
|
2017-11-02 06:03:12 +03:00
|
|
|
user_data {"Fl_Scrollbar FL_HORIZONTAL"}
|
2007-01-18 13:41:27 +03:00
|
|
|
callback callback
|
|
|
|
tooltip {Horizontal Scrollbar} xywh {305 65 95 20} type Horizontal labelsize 8 maximum 100 value 20
|
|
|
|
}
|
|
|
|
Fl_Scrollbar {} {
|
|
|
|
label 0
|
2017-11-02 06:03:12 +03:00
|
|
|
user_data {"Fl_Scrollbar FL_VERTICAL"}
|
2007-01-18 13:41:27 +03:00
|
|
|
callback callback
|
|
|
|
tooltip {Vertical Scrollbar} xywh {400 20 20 105} labelsize 8 align 1 maximum 100
|
|
|
|
}
|
|
|
|
Fl_Box {} {
|
|
|
|
label Fl_Adjuster
|
|
|
|
xywh {440 10 130 120} box ENGRAVED_BOX labelfont 1 align 17
|
|
|
|
}
|
|
|
|
Fl_Adjuster {} {
|
|
|
|
label {w()>h()}
|
2017-11-02 06:03:12 +03:00
|
|
|
user_data {"Fl_Adjuster w()>h()"}
|
2007-01-18 13:41:27 +03:00
|
|
|
callback callback
|
|
|
|
tooltip {Horizontal Adjuster} xywh {450 60 75 25} labelsize 8
|
|
|
|
}
|
|
|
|
Fl_Adjuster {} {
|
|
|
|
label {w()<h()}
|
2017-11-02 06:03:12 +03:00
|
|
|
user_data {"Fl_Adjuster w()<h()"}
|
2007-01-18 13:41:27 +03:00
|
|
|
callback callback
|
|
|
|
tooltip {Vertical Adjuster} xywh {530 35 25 75} labelsize 8
|
|
|
|
}
|
|
|
|
Fl_Box {} {
|
|
|
|
label Fl_Counter
|
|
|
|
xywh {300 140 130 120} box ENGRAVED_BOX labelfont 1 align 17
|
|
|
|
}
|
|
|
|
Fl_Counter {} {
|
|
|
|
label 0
|
2017-11-02 06:03:12 +03:00
|
|
|
user_data {"Fl_Counter"}
|
2007-01-18 13:41:27 +03:00
|
|
|
callback callback
|
|
|
|
tooltip {Standard Counter} xywh {310 175 110 25} labelsize 8
|
|
|
|
}
|
|
|
|
Fl_Counter {} {
|
|
|
|
label FL_SIMPLE_COUNTER
|
2017-11-02 06:03:12 +03:00
|
|
|
user_data {"Fl_Counter FL_SIMPLE_COUNTER"}
|
2007-01-18 13:41:27 +03:00
|
|
|
callback callback
|
|
|
|
tooltip {Simple Counter} xywh {310 215 110 25} type Simple labelsize 8
|
|
|
|
}
|
|
|
|
Fl_Box {} {
|
|
|
|
label Fl_Spinner
|
|
|
|
xywh {440 140 130 120} box ENGRAVED_BOX labelfont 1 align 17
|
|
|
|
}
|
|
|
|
Fl_Spinner {} {
|
|
|
|
label FL_INT_INPUT
|
2017-11-02 06:03:12 +03:00
|
|
|
user_data {"Fl_Spinner FL_INT_INPUT"}
|
|
|
|
callback callback_spinner
|
2007-01-18 13:41:27 +03:00
|
|
|
xywh {465 176 80 24} labelsize 8 align 2 minimum -30 maximum 30 step 2 value 5
|
|
|
|
}
|
|
|
|
Fl_Spinner {} {
|
|
|
|
label FL_FLOAT_INPUT
|
2017-11-02 06:03:12 +03:00
|
|
|
user_data {"Fl_Spinner FL_FLOAT_INPUT"}
|
|
|
|
callback callback_spinner
|
2007-01-18 13:41:27 +03:00
|
|
|
xywh {465 216 80 24} type Float labelsize 8 align 2 minimum 0 maximum 1 step 0.01 value 0.05
|
2017-03-11 00:47:08 +03:00
|
|
|
code0 {o->wrap(0); // disable wrap mode}
|
2007-01-18 13:41:27 +03:00
|
|
|
}
|
|
|
|
Fl_Box {} {
|
|
|
|
label Fl_Dial
|
|
|
|
xywh {300 270 270 105} box ENGRAVED_BOX labelfont 1 align 17
|
|
|
|
}
|
|
|
|
Fl_Dial {} {
|
|
|
|
label 0
|
2017-11-02 06:03:12 +03:00
|
|
|
user_data {"Fl_Dial"}
|
2007-01-18 13:41:27 +03:00
|
|
|
callback callback
|
|
|
|
tooltip {Standard Dial} xywh {320 295 65 65} color 10 selection_color 1 labelsize 8 value 0.5
|
|
|
|
code0 {o->angles(0,315);}
|
|
|
|
}
|
|
|
|
Fl_Dial {} {
|
|
|
|
label FL_LINE_DIAL
|
2017-11-02 06:03:12 +03:00
|
|
|
user_data {"Fl_Dial FL_LINE_DIAL"}
|
2007-01-18 13:41:27 +03:00
|
|
|
callback callback
|
|
|
|
tooltip {Line Dial} xywh {400 295 65 65} type Line color 10 selection_color 1 labelsize 8 value 0.5
|
|
|
|
}
|
|
|
|
Fl_Dial {} {
|
|
|
|
label FL_FILL_DIAL
|
2017-11-02 06:03:12 +03:00
|
|
|
user_data {"Fl_Dial FL_FILL_DIAL"}
|
2007-01-18 13:41:27 +03:00
|
|
|
callback callback
|
|
|
|
tooltip {Fill Dial} xywh {480 295 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 385 150 115} box ENGRAVED_BOX labelfont 1 align 17
|
|
|
|
}
|
|
|
|
Fl_Roller {} {
|
|
|
|
label 0
|
2017-11-02 06:03:12 +03:00
|
|
|
user_data {"Fl_Roller FL_VERTICAL"}
|
|
|
|
callback callback selected
|
2007-01-18 13:41:27 +03:00
|
|
|
tooltip {Vertical Roller} xywh {315 390 20 95} labelsize 8
|
|
|
|
}
|
|
|
|
Fl_Roller {} {
|
|
|
|
label FL_HORIZONTAL
|
2017-11-02 06:03:12 +03:00
|
|
|
user_data {"Fl_Roller FL_HORIZONTAL"}
|
2007-01-18 13:41:27 +03:00
|
|
|
callback callback
|
|
|
|
tooltip {Horizontal Roller} xywh {345 430 90 20} type Horizontal labelsize 8
|
|
|
|
}
|
|
|
|
Fl_Box {} {
|
2017-11-02 06:03:12 +03:00
|
|
|
label {Some widgets have color(FL_GREEN) and color2(FL_RED) to show the areas these effect.}
|
2007-01-18 13:41:27 +03:00
|
|
|
xywh {460 385 110 115} box BORDER_FRAME color 0 selection_color 0 labelsize 11 align 128
|
|
|
|
}
|
2017-11-02 06:03:12 +03:00
|
|
|
Fl_Box tty {
|
|
|
|
xywh {10 513 560 117} color 0
|
|
|
|
code0 {o->ansi(true);}
|
|
|
|
class Fl_Simple_Terminal
|
|
|
|
}
|
2001-12-21 17:35:34 +03:00
|
|
|
}
|
2017-11-02 06:03:12 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
Function {callback(Fl_Widget* o, void*)} {open return_type void
|
|
|
|
} {
|
|
|
|
code {const char *name = (const char*)(o->user_data() ? o->user_data() : "???");
|
|
|
|
tty->printf("callback(): %s value() = \\033[2m%g\\033[0m\\n",
|
|
|
|
name, ((Fl_Valuator*)o)->value());} {}
|
|
|
|
}
|
|
|
|
|
|
|
|
Function {callback_spinner(Fl_Widget* o, void*)} {
|
|
|
|
comment {Spinner doesn't derive from Fl_Valuator..} open return_type void
|
|
|
|
} {
|
|
|
|
code {const char *name = (const char*)(o->user_data() ? o->user_data() : "???");
|
|
|
|
tty->printf("callback(): %s value() = \\033[2m%g\\033[0m\\n",
|
|
|
|
name, ((Fl_Spinner*)o)->value());} {}
|
|
|
|
}
|