2005-03-18 09:29:11 +03:00
|
|
|
//
|
|
|
|
// Setting and shell dialogs for the Fast Light Tool Kit (FLTK).
|
|
|
|
//
|
2023-03-18 19:33:27 +03:00
|
|
|
// Copyright 1998-2023 by Bill Spitzak and others.
|
2005-03-18 09:29:11 +03:00
|
|
|
//
|
2011-07-19 08:49:30 +04:00
|
|
|
// This library is free software. Distribution and use rights are outlined in
|
|
|
|
// the file "COPYING" which should have been included with this file. If this
|
|
|
|
// file is missing or damaged, see the license at:
|
|
|
|
//
|
2020-04-06 21:04:16 +03:00
|
|
|
// https://www.fltk.org/COPYING.php
|
2005-03-18 09:29:11 +03:00
|
|
|
//
|
2020-07-01 19:03:10 +03:00
|
|
|
// Please see the following page on how to report bugs and issues:
|
2005-03-18 09:29:11 +03:00
|
|
|
//
|
2020-07-01 19:03:10 +03:00
|
|
|
// https://www.fltk.org/bugs.php
|
2005-03-18 09:29:11 +03:00
|
|
|
//
|
|
|
|
|
2016-01-30 03:56:42 +03:00
|
|
|
// generated by Fast Light User Interface Designer (fluid) version 1.0400
|
1998-10-06 22:21:25 +04:00
|
|
|
|
1999-01-27 00:59:41 +03:00
|
|
|
#ifndef alignment_panel_h
|
|
|
|
#define alignment_panel_h
|
1998-10-06 22:21:25 +04:00
|
|
|
#include <FL/Fl.H>
|
2021-12-08 17:52:15 +03:00
|
|
|
#include "fluid.h"
|
|
|
|
#include "widget_browser.h"
|
2023-03-18 19:33:27 +03:00
|
|
|
#include "Fd_Snap_Action.h"
|
2021-12-09 04:43:57 +03:00
|
|
|
#include "shell_command.h"
|
2003-04-01 23:58:08 +04:00
|
|
|
#include <FL/Fl_Text_Buffer.H>
|
|
|
|
#include <FL/Fl_Text_Display.H>
|
2023-10-22 20:30:37 +03:00
|
|
|
#include "fluid_filename.h"
|
2023-03-18 19:33:27 +03:00
|
|
|
#include <FL/fl_string_functions.h>
|
2023-01-01 23:53:07 +03:00
|
|
|
#include <FL/Fl_Scheme_Choice.H>
|
|
|
|
/**
|
|
|
|
// initialize the scheme from preferences
|
|
|
|
*/
|
|
|
|
void init_scheme(void);
|
2010-03-22 01:55:18 +03:00
|
|
|
extern struct Fl_Menu_Item *dbmanager_item;
|
2002-05-01 14:36:08 +04:00
|
|
|
extern void i18n_cb(Fl_Choice *,void *);
|
2023-01-01 23:53:07 +03:00
|
|
|
extern void scheme_cb(Fl_Scheme_Choice *, void *);
|
2023-09-26 17:01:03 +03:00
|
|
|
extern int w_settings_shell_list_selected;
|
2023-03-19 22:04:01 +03:00
|
|
|
#include <FL/Fl_Double_Window.H>
|
2023-09-26 17:01:03 +03:00
|
|
|
extern Fl_Double_Window *script_panel;
|
|
|
|
#include <FL/Fl_Text_Editor.H>
|
|
|
|
extern Fl_Text_Editor *script_input;
|
|
|
|
#include <FL/Fl_Group.H>
|
|
|
|
#include <FL/Fl_Return_Button.H>
|
|
|
|
extern Fl_Return_Button *script_panel_ok;
|
|
|
|
#include <FL/Fl_Button.H>
|
|
|
|
extern Fl_Button *script_panel_cancel;
|
|
|
|
#include <FL/Fl_Box.H>
|
|
|
|
Fl_Double_Window* make_script_panel();
|
2005-02-26 23:27:19 +03:00
|
|
|
extern Fl_Double_Window *settings_window;
|
2023-03-19 22:04:01 +03:00
|
|
|
#include <FL/Fl_Tabs.H>
|
|
|
|
extern Fl_Tabs *w_settings_tabs;
|
2023-01-01 23:53:07 +03:00
|
|
|
extern void scheme_cb(Fl_Scheme_Choice*, void*);
|
|
|
|
extern Fl_Scheme_Choice *scheme_choice;
|
2023-03-19 22:04:01 +03:00
|
|
|
#include <FL/Fl_Check_Button.H>
|
2002-04-30 22:11:49 +04:00
|
|
|
extern Fl_Check_Button *tooltips_button;
|
|
|
|
extern Fl_Check_Button *completion_button;
|
|
|
|
extern Fl_Check_Button *openlast_button;
|
2002-10-31 21:49:05 +03:00
|
|
|
extern Fl_Check_Button *prevpos_button;
|
2008-09-19 01:11:28 +04:00
|
|
|
extern Fl_Check_Button *show_comments_button;
|
2005-03-24 20:45:50 +03:00
|
|
|
#include <FL/Fl_Spinner.H>
|
|
|
|
extern Fl_Spinner *recent_spinner;
|
2016-07-19 00:12:25 +03:00
|
|
|
extern Fl_Check_Button *use_external_editor_button;
|
2023-03-19 22:04:01 +03:00
|
|
|
#include <FL/Fl_Input.H>
|
2016-07-19 00:12:25 +03:00
|
|
|
extern Fl_Input *editor_command_input;
|
2023-07-12 00:13:46 +03:00
|
|
|
extern void toggle_guides_cb(Fl_Check_Button*, void*);
|
|
|
|
extern Fl_Check_Button *guides_button;
|
|
|
|
extern void toggle_restricted_cb(Fl_Check_Button*, void*);
|
|
|
|
extern Fl_Check_Button *restricted_button;
|
2023-03-19 22:04:01 +03:00
|
|
|
extern Fl_Group *w_settings_project_tab;
|
|
|
|
extern Fl_Input *header_file_input;
|
|
|
|
extern Fl_Input *code_file_input;
|
|
|
|
extern Fl_Check_Button *include_H_from_C_button;
|
|
|
|
extern Fl_Check_Button *use_FL_COMMAND_button;
|
|
|
|
extern Fl_Check_Button *utf8_in_src_button;
|
|
|
|
extern Fl_Check_Button *avoid_early_includes_button;
|
2023-10-26 01:38:58 +03:00
|
|
|
extern Fl_Check_Button *w_proj_mergeback;
|
2023-03-19 22:04:01 +03:00
|
|
|
extern Fl_Group *w_settings_layout_tab;
|
|
|
|
#include <FL/Fl_Choice.H>
|
2023-03-18 19:33:27 +03:00
|
|
|
extern Fl_Choice *layout_choice;
|
|
|
|
#include <FL/Fl_Menu_Button.H>
|
|
|
|
extern Fl_Menu_Button *w_layout_menu;
|
|
|
|
#include <FL/Fl_Native_File_Chooser.H>
|
|
|
|
extern void propagate_load(Fl_Group*, void*);
|
|
|
|
extern void edit_layout_preset_cb(Fl_Button*, long);
|
|
|
|
extern Fl_Button *preset_choice[3];
|
|
|
|
#include <FL/Fl_Value_Input.H>
|
2023-07-19 22:26:17 +03:00
|
|
|
extern Fl_Menu_Item fontmenu_w_default[];
|
2023-03-19 22:04:01 +03:00
|
|
|
extern Fl_Group *w_settings_shell_tab;
|
2023-09-26 17:01:03 +03:00
|
|
|
#include <FL/Fl_Browser.H>
|
|
|
|
extern Fl_Browser *w_settings_shell_list;
|
|
|
|
extern Fl_Group *w_settings_shell_toolbox;
|
|
|
|
extern Fl_Button *w_settings_shell_dup;
|
|
|
|
extern Fl_Button *w_settings_shell_remove;
|
|
|
|
extern Fl_Menu_Button *w_settings_shell_menu;
|
|
|
|
extern Fl_Button *w_settings_shell_play;
|
|
|
|
extern Fl_Group *w_settings_shell_cmd;
|
|
|
|
#include <FL/Fl_Shortcut_Button.H>
|
|
|
|
extern Fl_Text_Editor *w_settings_shell_command;
|
|
|
|
extern Fl_Menu_Button *w_settings_shell_text_macros;
|
|
|
|
extern Fl_Box *w_settings_shell_fd_project;
|
|
|
|
extern Fl_Box *w_settings_shell_fd_user;
|
2023-03-19 22:04:01 +03:00
|
|
|
extern Fl_Group *w_settings_i18n_tab;
|
|
|
|
extern void i18n_type_cb(Fl_Choice*, void*);
|
|
|
|
extern Fl_Choice *i18n_type_chooser;
|
2023-07-15 00:42:09 +03:00
|
|
|
extern Fl_Group *i18n_gnu_group;
|
|
|
|
extern Fl_Input *i18n_gnu_include_input;
|
|
|
|
extern Fl_Input *i18n_gnu_conditional_input;
|
|
|
|
extern Fl_Input *i18n_gnu_function_input;
|
|
|
|
extern Fl_Input *i18n_gnu_static_function_input;
|
|
|
|
extern Fl_Group *i18n_posix_group;
|
|
|
|
extern Fl_Input *i18n_pos_include_input;
|
|
|
|
extern Fl_Input *i18n_pos_conditional_input;
|
|
|
|
extern Fl_Input *i18n_pos_file_input;
|
2023-03-19 22:04:01 +03:00
|
|
|
#include <FL/Fl_Int_Input.H>
|
2023-07-15 00:42:09 +03:00
|
|
|
extern Fl_Int_Input *i18n_pos_set_input;
|
2023-03-19 22:04:01 +03:00
|
|
|
Fl_Double_Window* make_settings_window();
|
2023-03-18 19:33:27 +03:00
|
|
|
extern Fl_Menu_Item menu_layout_choice[];
|
|
|
|
extern Fl_Menu_Item menu_w_layout_menu[];
|
|
|
|
#define w_layout_menu_rename (menu_w_layout_menu+0)
|
|
|
|
extern Fl_Menu_Item *w_layout_menu_storage[4];
|
|
|
|
#define w_layout_menu_load (menu_w_layout_menu+5)
|
|
|
|
#define w_layout_menu_save (menu_w_layout_menu+6)
|
|
|
|
#define w_layout_menu_delete (menu_w_layout_menu+7)
|
2023-09-26 17:01:03 +03:00
|
|
|
extern Fl_Menu_Item menu_w_settings_shell_menu[];
|
|
|
|
extern Fl_Menu_Item menu_Store[];
|
|
|
|
extern Fl_Menu_Item menu_Condition[];
|
|
|
|
extern Fl_Menu_Item menu_w_settings_shell_text_macros[];
|
2023-03-19 22:04:01 +03:00
|
|
|
extern Fl_Menu_Item menu_i18n_type_chooser[];
|
|
|
|
extern Fl_Double_Window *shell_run_window;
|
|
|
|
#include <FL/Fl_Simple_Terminal.H>
|
|
|
|
extern Fl_Simple_Terminal *shell_run_terminal;
|
|
|
|
extern Fl_Return_Button *shell_run_button;
|
|
|
|
Fl_Double_Window* make_shell_window();
|
1999-01-27 00:59:41 +03:00
|
|
|
#endif
|