diff options
| author | Matthias Melcher <git@matthiasm.com> | 2021-12-09 02:43:57 +0100 |
|---|---|---|
| committer | Matthias Melcher <git@matthiasm.com> | 2021-12-09 02:48:40 +0100 |
| commit | 4f2febd801eadce214189f119090cbe0bb9c05b1 (patch) | |
| tree | f34dfcaedd4304c73013e7568e85ab9024ab0c4e /fluid/alignment_panel.h | |
| parent | 1be158a840922aa03682d39926dc60ecb487063b (diff) | |
Fluid STR 3460.D: Shell commands are now saved in the .fl file (user option)
The shell properties toolbox is completely redesigned:
This dialog box offers a field for a command line and three check buttons
to generate and save various files before the command is run.
If the fourth checkbox, "use settings in .fl design files" is checked,
all shell settings will be store in the current .fl file, and they will
be read and restored when the .fl is loaded again.
Fluid will save different shell settings for different operating system as
it is common that a different OS requires a different shell command.
Fluid comes with default shell settings. Pressing the "save as default" button
will store the current setting in the Fluid app settings and are used for new
designs, or if the "use settings..." box is not checked.
Fluid app settings are saved per user and per machine.
Diffstat (limited to 'fluid/alignment_panel.h')
| -rw-r--r-- | fluid/alignment_panel.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fluid/alignment_panel.h b/fluid/alignment_panel.h index 0457f4560..095ee487e 100644 --- a/fluid/alignment_panel.h +++ b/fluid/alignment_panel.h @@ -21,6 +21,7 @@ #include <FL/Fl.H> #include "fluid.h" #include "widget_browser.h" +#include "shell_command.h" #include <FL/Fl_Text_Buffer.H> #include <FL/Fl_Text_Display.H> #include <FL/filename.H> @@ -73,11 +74,11 @@ Fl_Double_Window* make_settings_window(); extern Fl_Menu_Item menu_scheme_choice[]; extern Fl_Double_Window *shell_window; extern Fl_Input *shell_command_input; +extern Fl_Check_Button *shell_savefl_button; extern Fl_Check_Button *shell_writecode_button; extern Fl_Check_Button *shell_writemsgs_button; -extern Fl_Check_Button *shell_savefl_button; +extern Fl_Check_Button *shell_use_fl_button; #include <FL/Fl_Return_Button.H> -extern void do_shell_command(Fl_Return_Button*, void*); extern Fl_Double_Window *shell_run_window; #include <FL/Fl_Simple_Terminal.H> extern Fl_Simple_Terminal *shell_run_terminal; |
