diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2023-10-13 19:08:30 +0200 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2023-10-13 19:08:30 +0200 |
| commit | 01038e832a305d0b2ad798f3d0dc25003d79e1ad (patch) | |
| tree | 5002041ca1d6849e4346797cde0b51d878633848 /fluid | |
| parent | 6958e5d615c320efd61e9a8ced86d1acc32d78be (diff) | |
Fix trailing whitespace and dependencies
Diffstat (limited to 'fluid')
| -rw-r--r-- | fluid/Fl_Widget_Type.h | 4 | ||||
| -rw-r--r-- | fluid/alignment_panel.cxx | 12 | ||||
| -rw-r--r-- | fluid/alignment_panel.fl | 16 | ||||
| -rw-r--r-- | fluid/shell_command.cxx | 2 | ||||
| -rw-r--r-- | fluid/sourceview_panel.cxx | 2 |
5 files changed, 18 insertions, 18 deletions
diff --git a/fluid/Fl_Widget_Type.h b/fluid/Fl_Widget_Type.h index f2ce8ba88..1c68de428 100644 --- a/fluid/Fl_Widget_Type.h +++ b/fluid/Fl_Widget_Type.h @@ -40,7 +40,7 @@ void comment_cb(class Fl_Text_Editor* i, void *v); class Fl_Widget_Type : public Fl_Type { typedef Fl_Type super; - + virtual Fl_Widget *widget(int,int,int,int) = 0; virtual Fl_Widget_Type *_make() = 0; // virtual constructor void setlabel(const char *) FL_OVERRIDE; @@ -59,7 +59,7 @@ protected: /// set, so we need a second place to store this information while also /// disabeling the output of the "hide" property by the Widget Type. uchar override_visible_; - + void write_static(Fd_Code_Writer& f) FL_OVERRIDE; void write_code1(Fd_Code_Writer& f) FL_OVERRIDE; void write_widget_code(Fd_Code_Writer& f); diff --git a/fluid/alignment_panel.cxx b/fluid/alignment_panel.cxx index 513238320..4b20f9a9a 100644 --- a/fluid/alignment_panel.cxx +++ b/fluid/alignment_panel.cxx @@ -462,7 +462,7 @@ static void cb_2(Fl_Button*, void* v) { old_name.append(g_layout_list[g_layout_list.current_suite()].name_); const char *new_name = fl_input("Enter a name for the new layout:", old_name.c_str()); if (new_name == NULL) - return; + return; g_layout_list.add(new_name); g_layout_list.update_dialogs(); @@ -492,7 +492,7 @@ static void cb_w_layout_menu_rename(Fl_Menu_*, void*) { Fl_String old_name = g_layout_list[g_layout_list.current_suite()].name_; const char *new_name = fl_input("Enter a new name for the layout:", old_name.c_str()); if (new_name == NULL) - return; + return; g_layout_list.rename(new_name); g_layout_list.update_dialogs(); @@ -930,12 +930,12 @@ static void cb_w_settings_shell_remove(Fl_Button* o, void* v) { Fl_Menu_Button *w_settings_shell_menu=(Fl_Menu_Button *)0; static void cb_Import(Fl_Menu_*, void* v) { - if (v != LOAD) + if (v != LOAD) Fd_Shell_Command_List::import_from_file(); } static void cb_Export(Fl_Menu_*, void* v) { - if (v != LOAD) + if (v != LOAD) Fd_Shell_Command_List::export_selected(); } @@ -993,7 +993,7 @@ static void cb_Name(Fl_Input* o, void* v) { if (selected) { Fd_Shell_Command *cmd = g_shell_config->list[selected-1]; cmd->name = o->value(); - w_settings_shell_list->text(selected, o->value()); + w_settings_shell_list->text(selected, o->value()); if (cmd->storage == FD_STORE_PROJECT) set_modflag(1); } } @@ -1055,7 +1055,7 @@ static void cb_Store(Fl_Choice* o, void* v) { Fd_Tool_Store ts = (Fd_Tool_Store)(o->mvalue()->argument()); if (cmd->storage == FD_STORE_PROJECT) set_modflag(1); cmd->storage = ts; - //w_settings_shell_list->text(selected, cmd->name.c_str()); + //w_settings_shell_list->text(selected, cmd->name.c_str()); if (cmd->storage == FD_STORE_USER) w_settings_shell_list->icon(selected, w_settings_shell_fd_user->image()); else if (cmd->storage == FD_STORE_PROJECT) diff --git a/fluid/alignment_panel.fl b/fluid/alignment_panel.fl index 3abf133c7..96316d2cb 100644 --- a/fluid/alignment_panel.fl +++ b/fluid/alignment_panel.fl @@ -423,7 +423,7 @@ Fl_String old_name = "Copy of "; old_name.append(g_layout_list[g_layout_list.current_suite()].name_); const char *new_name = fl_input("Enter a name for the new layout:", old_name.c_str()); if (new_name == NULL) - return; + return; g_layout_list.add(new_name); g_layout_list.update_dialogs();} @@ -452,7 +452,7 @@ g_layout_list.update_dialogs();} Fl_String old_name = g_layout_list[g_layout_list.current_suite()].name_; const char *new_name = fl_input("Enter a new name for the layout:", old_name.c_str()); if (new_name == NULL) - return; + return; g_layout_list.rename(new_name); g_layout_list.update_dialogs();} @@ -841,8 +841,8 @@ g_layout_list.update_dialogs();} xywh {10 90 320 132} } { Fl_Browser w_settings_shell_list { - label {Shell -command + label {Shell +command list:} callback {if (v == LOAD) { // load from g_shell_config @@ -957,13 +957,13 @@ if (v==LOAD) { } { MenuItem {} { label {Import...} - callback {if (v != LOAD) + callback {if (v != LOAD) Fd_Shell_Command_List::import_from_file();} tooltip {import shell commands from an external file} xywh {90 90 100 20} labelsize 11 } MenuItem {} { label {Export selected...} - callback {if (v != LOAD) + callback {if (v != LOAD) Fd_Shell_Command_List::export_selected();} tooltip {export selected shell commands to an external file} xywh {10 10 100 20} labelsize 11 } @@ -1034,7 +1034,7 @@ if (v == LOAD) { if (selected) { Fd_Shell_Command *cmd = g_shell_config->list[selected-1]; cmd->name = o->value(); - w_settings_shell_list->text(selected, o->value()); + w_settings_shell_list->text(selected, o->value()); if (cmd->storage == FD_STORE_PROJECT) set_modflag(1); } }} @@ -1101,7 +1101,7 @@ if (v == LOAD) { Fd_Tool_Store ts = (Fd_Tool_Store)(o->mvalue()->argument()); if (cmd->storage == FD_STORE_PROJECT) set_modflag(1); cmd->storage = ts; - //w_settings_shell_list->text(selected, cmd->name.c_str()); + //w_settings_shell_list->text(selected, cmd->name.c_str()); if (cmd->storage == FD_STORE_USER) w_settings_shell_list->icon(selected, w_settings_shell_fd_user->image()); else if (cmd->storage == FD_STORE_PROJECT) diff --git a/fluid/shell_command.cxx b/fluid/shell_command.cxx index c557c6e54..4eb32bcc1 100644 --- a/fluid/shell_command.cxx +++ b/fluid/shell_command.cxx @@ -72,7 +72,7 @@ default shell is in $SHELL on linux and macOS On macOS, we can write Apple Scripts: - + #!/usr/bin/env osascript say "@BASENAME@" diff --git a/fluid/sourceview_panel.cxx b/fluid/sourceview_panel.cxx index 64d7c6b0d..0c57ae9f4 100644 --- a/fluid/sourceview_panel.cxx +++ b/fluid/sourceview_panel.cxx @@ -29,7 +29,7 @@ static char *sv_design_filename = NULL; /** Update the header and source code highlighting depending on the currently selected object - + The Source View system offers an immediate preview of the code files that will be generated by FLUID. It also marks the code generated for the last selected item in the header and the source |
