diff options
| author | Matthias Melcher <github@matthiasm.com> | 2025-03-07 18:54:03 +0100 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2025-03-07 18:54:24 +0100 |
| commit | c3571838cb10133aa913efd7523b9543a65459c1 (patch) | |
| tree | 6820fd1e11ce523d76f4f0580c3fa7d8072dcec8 /fluid/panels/function_panel.fl | |
| parent | 89f714cb4eac968c94925ee2e9629649033ef372 (diff) | |
Fluid: Rebuilding most of the widget directory.
One file per logical unit.
Namespaces.
Non-static data member initializers to never
get an uninitialized field again.
Diffstat (limited to 'fluid/panels/function_panel.fl')
| -rw-r--r-- | fluid/panels/function_panel.fl | 112 |
1 files changed, 56 insertions, 56 deletions
diff --git a/fluid/panels/function_panel.fl b/fluid/panels/function_panel.fl index 5ad6325fc..b63b4bf50 100644 --- a/fluid/panels/function_panel.fl +++ b/fluid/panels/function_panel.fl @@ -28,7 +28,7 @@ comment {// decl {\#include "app/fluid.h"} {private local } -decl {\#include "app/undo.h"} {selected private local +decl {\#include "app/undo.h"} {private local } decl {\#include "nodes/Fl_Type.h"} {private local @@ -40,7 +40,7 @@ decl {\#include "nodes/factory.h"} {private local decl {\#include "rsrcs/pixmaps.h"} {private local } -decl {\#include "widgets/custom_widgets.h"} {private global +decl {\#include "widgets/Bin_Button.h"} {private global } decl {\#include "widgets/widget_browser.h"} {private local @@ -152,8 +152,8 @@ code_panel->hide(); // otherwise hide..} Fl_Text_Editor code_input { xywh {10 10 520 130} box DOWN_BOX labelsize 11 textfont 4 textsize 11 resizable code0 {o->when(FL_WHEN_ENTER_KEY_CHANGED|FL_WHEN_RELEASE);} - code1 {\#include "widgets/CodeEditor.h"} - class CodeEditor + code1 {\#include "widgets/Code_Editor.h"} + class {fld::widget::Code_Editor} } Fl_Group {} {open xywh {10 150 520 20} labelsize 11 @@ -343,8 +343,8 @@ Function {make_decl_panel()} {open Fl_Text_Editor decl_input { label {This can be any declaration, like "int x;", an external symbol like "extern int foo();", a \#directive like "\#include <foo.h>", a comment like "//foo" or "/*foo*/", or typedef like "typedef char byte;" or "using std::list;".} xywh {10 40 320 45} labelsize 11 align 134 resizable - code0 {\#include "widgets/CodeEditor.h"} - class CodeEditor + code0 {\#include "widgets/Code_Editor.h"} + class {fld::widget::Code_Editor} } Fl_Box {} { xywh {20 139 300 1} box BORDER_FRAME color 43 @@ -643,7 +643,7 @@ else callback type_make_cb tooltip {Widget Class} xywh {55 46 24 24} box THIN_UP_BOX code0 {o->image(pixmap[ID_Widget_Class]);} - class Widget_Bin_Window_Button + class {fld::widget::Bin_Window_Button} } Fl_Button {} { user_data {"decl"} @@ -673,63 +673,63 @@ else callback type_make_cb tooltip Window xywh {89 21 24 24} box THIN_UP_BOX code0 {o->image(pixmap[ID_Window]);} - class Widget_Bin_Window_Button + class {fld::widget::Bin_Window_Button} } Fl_Button {} { user_data {"Fl_Group"} - callback type_make_cb + callback type_make_cb selected tooltip Group xywh {114 21 24 24} box THIN_UP_BOX code0 {o->image(pixmap[ID_Group]);} - class Widget_Bin_Button + class {fld::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[ID_Pack]);} - class Widget_Bin_Button + class {fld::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[ID_Tabs]);} - class Widget_Bin_Button + class {fld::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[ID_Scroll]);} - class Widget_Bin_Button + class {fld::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[ID_Flex]);} - class Widget_Bin_Button + class {fld::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[ID_Tile]);} - class Widget_Bin_Button + class {fld::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[ID_Wizard]);} - class Widget_Bin_Button + class {fld::widget::Bin_Button} } Fl_Button {} { user_data {"Fl_Grid"} callback type_make_cb tooltip Grid xywh {139 71 24 24} box THIN_UP_BOX code0 {o->image(pixmap[ID_Grid]);} - class Widget_Bin_Button + class {fld::widget::Bin_Button} } } Fl_Group {} { @@ -741,42 +741,42 @@ else callback type_make_cb tooltip Button xywh {173 21 24 24} box THIN_UP_BOX code0 {o->image(pixmap[ID_Button]);} - class Widget_Bin_Button + class {fld::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[ID_Return_Button]);} - class Widget_Bin_Button + class {fld::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[ID_Light_Button]);} - class Widget_Bin_Button + class {fld::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[ID_Repeat_Button]);} - class Widget_Bin_Button + class {fld::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[ID_Check_Button]);} - class Widget_Bin_Button + class {fld::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[ID_Round_Button]);} - class Widget_Bin_Button + class {fld::widget::Bin_Button} } } Fl_Group {} { @@ -788,70 +788,70 @@ else callback type_make_cb tooltip Slider xywh {232 21 24 24} box THIN_UP_BOX code0 {o->image(pixmap[ID_Slider]);} - class Widget_Bin_Button + class {fld::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[ID_Scrollbar]);} - class Widget_Bin_Button + class {fld::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[ID_Value_Slider]);} - class Widget_Bin_Button + class {fld::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[ID_Value_Output]);} - class Widget_Bin_Button + class {fld::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[ID_Adjuster]);} - class Widget_Bin_Button + class {fld::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[ID_Counter]);} - class Widget_Bin_Button + class {fld::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[ID_Dial]);} - class Widget_Bin_Button + class {fld::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[ID_Roller]);} - class Widget_Bin_Button + class {fld::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[ID_Spinner]);} - class Widget_Bin_Button + class {fld::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[ID_Value_Input]);} - class Widget_Bin_Button + class {fld::widget::Bin_Button} } } Fl_Group {} { @@ -863,42 +863,42 @@ else callback type_make_cb tooltip Input xywh {341 21 24 24} box THIN_UP_BOX code0 {o->image(pixmap[ID_Input]);} - class Widget_Bin_Button + class {fld::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[ID_Output]);} - class Widget_Bin_Button + class {fld::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[ID_Text_Editor]);} - class Widget_Bin_Button + class {fld::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[ID_Text_Display]);} - class Widget_Bin_Button + class {fld::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[ID_File_Input]);} - class Widget_Bin_Button + class {fld::widget::Bin_Button} } Fl_Button {} { user_data {"Fl_Terminal"} callback type_make_cb tooltip Terminal xywh {366 71 24 24} box THIN_UP_BOX code0 {o->image(pixmap[ID_Terminal]);} - class Widget_Bin_Button + class {fld::widget::Bin_Button} } } Fl_Group {} { @@ -910,56 +910,56 @@ else callback type_make_cb tooltip {Input Choice} xywh {400 22 24 24} box THIN_UP_BOX code0 {o->image(pixmap[ID_Input_Choice]);} - class Widget_Bin_Button + class {fld::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[ID_Menu_Item]);} - class Widget_Bin_Button + class {fld::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[ID_Menu_Bar]);} - class Widget_Bin_Button + class {fld::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[ID_Menu_Button]);} - class Widget_Bin_Button + class {fld::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[ID_Checkbox_Menu_Item]);} - class Widget_Bin_Button + class {fld::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[ID_Submenu]);} - class Widget_Bin_Button + class {fld::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[ID_Choice]);} - class Widget_Bin_Button + class {fld::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[ID_Radio_Menu_Item]);} - class Widget_Bin_Button + class {fld::widget::Bin_Button} } } Fl_Group {} { @@ -971,42 +971,42 @@ else callback type_make_cb tooltip Browser xywh {484 21 24 24} box THIN_UP_BOX code0 {o->image(pixmap[ID_Browser]);} - class Widget_Bin_Button + class {fld::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[ID_Tree]);} - class Widget_Bin_Button + class {fld::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[ID_Check_Browser]);} - class Widget_Bin_Button + class {fld::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[ID_Help_View]);} - class Widget_Bin_Button + class {fld::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[ID_File_Browser]);} - class Widget_Bin_Button + class {fld::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[ID_Table]);} - class Widget_Bin_Button + class {fld::widget::Bin_Button} } } Fl_Group {} { @@ -1018,21 +1018,21 @@ else callback type_make_cb tooltip Box xywh {542 21 24 24} box THIN_UP_BOX code0 {o->image(pixmap[ID_Box]);} - class Widget_Bin_Button + class {fld::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[ID_Clock]);} - class Widget_Bin_Button + class {fld::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[ID_Progress]);} - class Widget_Bin_Button + class {fld::widget::Bin_Button} } } } |
