summaryrefslogtreecommitdiff
path: root/fluid/function_panel.fl
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2023-10-20 19:00:42 +0200
committerMatthias Melcher <github@matthiasm.com>2023-10-20 19:00:52 +0200
commit9817536cfd4a9ea8d9bb5ef41580a5ba3d254911 (patch)
treec2f313d24dad7a95742f4673907863c65fd771b2 /fluid/function_panel.fl
parent757b5c12273cc1b4de8007b7c3f8536b699d2600 (diff)
FLUID: basic Fl_Grid support
* no settings for children yet * ne good interactive editing for children
Diffstat (limited to 'fluid/function_panel.fl')
-rw-r--r--fluid/function_panel.fl126
1 files changed, 66 insertions, 60 deletions
diff --git a/fluid/function_panel.fl b/fluid/function_panel.fl
index d4974b3c4..5734b225a 100644
--- a/fluid/function_panel.fl
+++ b/fluid/function_panel.fl
@@ -535,8 +535,7 @@ Function {type_make_cb(Fl_Widget*,void*d)} {open return_type void
if (Fl_Type::current && Fl_Type::current->is_parent())
add_new_widget_from_user(type_name, kAddAsLastChild);
else
- add_new_widget_from_user(type_name, kAddAfterCurrent);} {selected
- }
+ add_new_widget_from_user(type_name, kAddAfterCurrent);} {}
}
Function {make_widgetbin()} {open
@@ -546,7 +545,7 @@ Function {make_widgetbin()} {open
callback {if (Fl::event()==FL_SHORTCUT && Fl::event_key()==FL_Escape)
exit_cb((Fl_Widget*)o, v);
else
- toggle_widgetbin_cb((Fl_Widget*)o, v);}
+ toggle_widgetbin_cb((Fl_Widget*)o, v);} open
xywh {395 227 600 102} type Single align 80 non_modal visible
} {
Fl_Group {} {
@@ -557,56 +556,56 @@ else
user_data {"Function"}
callback type_make_cb
tooltip Function xywh {5 21 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Function]);}
+ code0 {o->image(pixmap[ID_Function]);}
}
Fl_Button {} {
user_data {"Class"}
callback type_make_cb
tooltip Class xywh {30 21 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Class]);}
+ code0 {o->image(pixmap[ID_Class]);}
}
Fl_Button {} {
user_data {"comment"}
callback type_make_cb
tooltip Comment xywh {55 21 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Comment]);}
+ code0 {o->image(pixmap[ID_Comment]);}
}
Fl_Button {} {
user_data {"Code"}
callback type_make_cb
tooltip Code xywh {5 46 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Code]);}
+ code0 {o->image(pixmap[ID_Code]);}
}
Fl_Button {} {
user_data {"CodeBlock"}
callback type_make_cb
tooltip {Code Block} xywh {30 46 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_CodeBlock]);}
+ code0 {o->image(pixmap[ID_CodeBlock]);}
}
Fl_Button {} {
user_data {"widget_class"}
callback type_make_cb
tooltip {Widget Class} xywh {55 46 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Widget_Class]);}
+ code0 {o->image(pixmap[ID_Widget_Class]);}
class Widget_Bin_Window_Button
}
Fl_Button {} {
user_data {"decl"}
callback type_make_cb
tooltip Declaration xywh {5 71 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Decl]);}
+ code0 {o->image(pixmap[ID_Decl]);}
}
Fl_Button {} {
user_data {"declblock"}
callback type_make_cb
tooltip {Declaration Block} xywh {30 71 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_DeclBlock]);}
+ code0 {o->image(pixmap[ID_DeclBlock]);}
}
Fl_Button {} {
user_data {"data"}
callback type_make_cb
tooltip {Inline Data} xywh {55 71 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Data]);}
+ code0 {o->image(pixmap[ID_Data]);}
}
}
Fl_Group {} {
@@ -617,56 +616,63 @@ else
user_data {"Fl_Window"}
callback type_make_cb
tooltip Window xywh {89 21 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Window]);}
+ code0 {o->image(pixmap[ID_Window]);}
class Widget_Bin_Window_Button
}
Fl_Button {} {
user_data {"Fl_Group"}
callback type_make_cb
tooltip Group xywh {114 21 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Group]);}
+ code0 {o->image(pixmap[ID_Group]);}
class Widget_Bin_Button
}
Fl_Button {} {
user_data {"Fl_Pack"}
callback type_make_cb
tooltip Pack xywh {139 21 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Pack]);}
+ code0 {o->image(pixmap[ID_Pack]);}
class Widget_Bin_Button
}
Fl_Button {} {
user_data {"Fl_Tabs"}
callback type_make_cb
tooltip Tabs xywh {89 46 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Tabs]);}
+ code0 {o->image(pixmap[ID_Tabs]);}
class Widget_Bin_Button
}
Fl_Button {} {
user_data {"Fl_Scroll"}
callback type_make_cb
tooltip Scroll xywh {114 46 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Scroll]);}
+ code0 {o->image(pixmap[ID_Scroll]);}
class Widget_Bin_Button
}
Fl_Button {} {
user_data {"Fl_Flex"}
callback type_make_cb
tooltip Flex xywh {139 46 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Flex]);}
+ code0 {o->image(pixmap[ID_Flex]);}
class Widget_Bin_Button
}
Fl_Button {} {
user_data {"Fl_Tile"}
callback type_make_cb
tooltip Tile xywh {89 71 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Tile]);}
+ code0 {o->image(pixmap[ID_Tile]);}
class Widget_Bin_Button
}
Fl_Button {} {
user_data {"Fl_Wizard"}
callback type_make_cb
tooltip Wizard xywh {114 71 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Wizard]);}
+ code0 {o->image(pixmap[ID_Wizard]);}
+ class Widget_Bin_Button
+ }
+ Fl_Button {} {
+ user_data {"Fl_Grid"}
+ callback type_make_cb selected
+ tooltip Grid xywh {139 71 24 24} box THIN_UP_BOX
+ code0 {o->image(pixmap[ID_Grid]);}
class Widget_Bin_Button
}
}
@@ -678,42 +684,42 @@ else
user_data {"Fl_Button"}
callback type_make_cb
tooltip Button xywh {173 21 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Button]);}
+ code0 {o->image(pixmap[ID_Button]);}
class Widget_Bin_Button
}
Fl_Button {} {
user_data {"Fl_Return_Button"}
callback type_make_cb
tooltip {Return Button} xywh {198 21 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Return_Button]);}
+ code0 {o->image(pixmap[ID_Return_Button]);}
class Widget_Bin_Button
}
Fl_Button {} {
user_data {"Fl_Light_Button"}
callback type_make_cb
tooltip {Light Button} xywh {173 46 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Light_Button]);}
+ code0 {o->image(pixmap[ID_Light_Button]);}
class Widget_Bin_Button
}
Fl_Button {} {
user_data {"Fl_Repeat_Button"}
callback type_make_cb
tooltip {Repeat Button} xywh {198 46 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Repeat_Button]);}
+ code0 {o->image(pixmap[ID_Repeat_Button]);}
class Widget_Bin_Button
}
Fl_Button {} {
user_data {"Fl_Check_Button"}
callback type_make_cb
tooltip {Check Button} xywh {173 71 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Check_Button]);}
+ code0 {o->image(pixmap[ID_Check_Button]);}
class Widget_Bin_Button
}
Fl_Button {} {
user_data {"Fl_Round_Button"}
callback type_make_cb
tooltip {Round Button} xywh {198 71 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Round_Button]);}
+ code0 {o->image(pixmap[ID_Round_Button]);}
class Widget_Bin_Button
}
}
@@ -725,70 +731,70 @@ else
user_data {"Fl_Slider"}
callback type_make_cb
tooltip Slider xywh {232 21 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Slider]);}
+ code0 {o->image(pixmap[ID_Slider]);}
class Widget_Bin_Button
}
Fl_Button {} {
user_data {"Fl_Scrollbar"}
callback type_make_cb
tooltip {Scroll Bar} xywh {257 21 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Scrollbar]);}
+ code0 {o->image(pixmap[ID_Scrollbar]);}
class Widget_Bin_Button
}
Fl_Button {} {
user_data {"Fl_Value_Slider"}
callback type_make_cb
tooltip {Value Slider} xywh {282 21 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Value_Slider]);}
+ code0 {o->image(pixmap[ID_Value_Slider]);}
class Widget_Bin_Button
}
Fl_Button {} {
user_data {"Fl_Value_Output"}
callback type_make_cb
tooltip {Value Output} xywh {307 21 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Value_Output]);}
+ code0 {o->image(pixmap[ID_Value_Output]);}
class Widget_Bin_Button
}
Fl_Button {} {
user_data {"Fl_Adjuster"}
callback type_make_cb
tooltip Adjuster xywh {232 46 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Adjuster]);}
+ code0 {o->image(pixmap[ID_Adjuster]);}
class Widget_Bin_Button
}
Fl_Button {} {
user_data {"Fl_Counter"}
callback type_make_cb
tooltip Counter xywh {257 46 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Counter]);}
+ code0 {o->image(pixmap[ID_Counter]);}
class Widget_Bin_Button
}
Fl_Button {} {
user_data {"Fl_Dial"}
callback type_make_cb
tooltip Dial xywh {282 46 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Dial]);}
+ code0 {o->image(pixmap[ID_Dial]);}
class Widget_Bin_Button
}
Fl_Button {} {
user_data {"Fl_Roller"}
callback type_make_cb
tooltip Roller xywh {232 71 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Roller]);}
+ code0 {o->image(pixmap[ID_Roller]);}
class Widget_Bin_Button
}
Fl_Button {} {
user_data {"Fl_Spinner"}
callback type_make_cb
tooltip Spinner xywh {257 71 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Spinner]);}
+ code0 {o->image(pixmap[ID_Spinner]);}
class Widget_Bin_Button
}
Fl_Button {} {
user_data {"Fl_Value_Input"}
callback type_make_cb
tooltip {Value Input} xywh {282 71 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Value_Input]);}
+ code0 {o->image(pixmap[ID_Value_Input]);}
class Widget_Bin_Button
}
}
@@ -800,42 +806,42 @@ else
user_data {"Fl_Input"}
callback type_make_cb
tooltip Input xywh {341 21 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Input]);}
+ code0 {o->image(pixmap[ID_Input]);}
class Widget_Bin_Button
}
Fl_Button {} {
user_data {"Fl_Output"}
callback type_make_cb
tooltip Output xywh {366 21 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Output]);}
+ code0 {o->image(pixmap[ID_Output]);}
class Widget_Bin_Button
}
Fl_Button {} {
user_data {"Fl_Text_Editor"}
callback type_make_cb
tooltip {Text Edit} xywh {341 46 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Text_Editor]);}
+ code0 {o->image(pixmap[ID_Text_Editor]);}
class Widget_Bin_Button
}
Fl_Button {} {
user_data {"Fl_Text_Display"}
callback type_make_cb
tooltip {Text Display} xywh {366 46 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Text_Display]);}
+ code0 {o->image(pixmap[ID_Text_Display]);}
class Widget_Bin_Button
}
Fl_Button {} {
user_data {"Fl_File_Input"}
callback type_make_cb
tooltip {File Input} xywh {341 71 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_File_Input]);}
+ code0 {o->image(pixmap[ID_File_Input]);}
class Widget_Bin_Button
}
Fl_Button {} {
user_data {"Fl_Simple_Terminal"}
callback type_make_cb
tooltip {Simple Terminal} xywh {366 71 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Simple_Terminal]);}
+ code0 {o->image(pixmap[ID_Simple_Terminal]);}
class Widget_Bin_Button
}
}
@@ -846,57 +852,57 @@ else
Fl_Button {} {
user_data {"Fl_Input_Choice"}
callback type_make_cb
- tooltip {Input Choice} xywh {400 21 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Input_Choice]);}
+ tooltip {Input Choice} xywh {400 22 24 24} box THIN_UP_BOX
+ code0 {o->image(pixmap[ID_Input_Choice]);}
class Widget_Bin_Button
}
Fl_Button {} {
user_data {"menuitem"}
callback type_make_cb
tooltip {Menu Item} xywh {425 21 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Menu_Item]);}
+ code0 {o->image(pixmap[ID_Menu_Item]);}
class Widget_Bin_Button
}
Fl_Button {} {
user_data {"Fl_Menu_Bar"}
callback type_make_cb
tooltip {Menu Bar} xywh {450 21 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Menu_Bar]);}
+ code0 {o->image(pixmap[ID_Menu_Bar]);}
class Widget_Bin_Button
}
Fl_Button {} {
user_data {"Fl_Menu_Button"}
callback type_make_cb
tooltip {Menu Button} xywh {400 46 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Menu_Button]);}
+ code0 {o->image(pixmap[ID_Menu_Button]);}
class Widget_Bin_Button
}
Fl_Button {} {
user_data {"checkmenuitem"}
callback type_make_cb
tooltip {Checkbox Menu Item} xywh {425 46 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Checkbox_Menu_Item]);}
+ code0 {o->image(pixmap[ID_Checkbox_Menu_Item]);}
class Widget_Bin_Button
}
Fl_Button {} {
user_data {"submenu"}
callback type_make_cb
tooltip {Sub Menu} xywh {450 46 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Submenu]);}
+ code0 {o->image(pixmap[ID_Submenu]);}
class Widget_Bin_Button
}
Fl_Button {} {
user_data {"Fl_Choice"}
callback type_make_cb
tooltip Choice xywh {400 71 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Choice]);}
+ code0 {o->image(pixmap[ID_Choice]);}
class Widget_Bin_Button
}
Fl_Button {} {
user_data {"radiomenuitem"}
callback type_make_cb
tooltip {Radio Menu Item} xywh {425 71 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Radio_Menu_Item]);}
+ code0 {o->image(pixmap[ID_Radio_Menu_Item]);}
class Widget_Bin_Button
}
}
@@ -908,42 +914,42 @@ else
user_data {"Fl_Browser"}
callback type_make_cb
tooltip Browser xywh {484 21 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Browser]);}
+ code0 {o->image(pixmap[ID_Browser]);}
class Widget_Bin_Button
}
Fl_Button {} {
user_data {"Fl_Tree"}
callback type_make_cb
tooltip Tree xywh {509 21 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Tree]);}
+ code0 {o->image(pixmap[ID_Tree]);}
class Widget_Bin_Button
}
Fl_Button {} {
user_data {"Fl_Check_Browser"}
callback type_make_cb
tooltip {Check Browser} xywh {484 46 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Check_Browser]);}
+ code0 {o->image(pixmap[ID_Check_Browser]);}
class Widget_Bin_Button
}
Fl_Button {} {
user_data {"Fl_Help_View"}
callback type_make_cb
tooltip {Help Browser} xywh {509 46 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Help_View]);}
+ code0 {o->image(pixmap[ID_Help_View]);}
class Widget_Bin_Button
}
Fl_Button {} {
user_data {"Fl_File_Browser"}
callback type_make_cb
tooltip {File Browser} xywh {484 71 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_File_Browser]);}
+ code0 {o->image(pixmap[ID_File_Browser]);}
class Widget_Bin_Button
}
Fl_Button {} {
user_data {"Fl_Table"}
callback type_make_cb
tooltip Table xywh {509 71 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Table]);}
+ code0 {o->image(pixmap[ID_Table]);}
class Widget_Bin_Button
}
}
@@ -955,21 +961,21 @@ else
user_data {"Fl_Box"}
callback type_make_cb
tooltip Box xywh {542 21 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Box]);}
+ code0 {o->image(pixmap[ID_Box]);}
class Widget_Bin_Button
}
Fl_Button {} {
user_data {"Fl_Clock"}
callback type_make_cb
tooltip Clock xywh {567 21 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Clock]);}
+ code0 {o->image(pixmap[ID_Clock]);}
class Widget_Bin_Button
}
Fl_Button {} {
user_data {"Fl_Progress"}
callback type_make_cb
tooltip Progress xywh {542 46 24 24} box THIN_UP_BOX
- code0 {o->image(pixmap[Fl_Type::ID_Progress]);}
+ code0 {o->image(pixmap[ID_Progress]);}
class Widget_Bin_Button
}
}