]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/form_preferences.h
try this for distinguishing inner and outer tabs
[lyx.git] / src / frontends / xforms / form_preferences.h
index bc1ec686b325c239bd1d54595139d99013ca6fa0..d6b0fcb53ecef3dc3717c1f5a4376fe2921e097a 100644 (file)
@@ -1,10 +1,16 @@
 // File modified by fdfix.sh for use by lyx (with xforms >= 0.88) and gettext
 /** Header file generated with fdesign **/
 
-#ifndef FD_form_lnf_general_h_
-#define FD_form_lnf_general_h_
+#ifndef FD_form_preferences_h_
+#define FD_form_preferences_h_
 
 /** Callbacks, globals and object handlers **/
+extern  "C" void C_FormBaseApplyCB(FL_OBJECT *, long);
+extern  "C" void C_FormBaseCancelCB(FL_OBJECT *, long);
+extern  "C" void C_FormBaseOKCB(FL_OBJECT *, long);
+extern  "C" void C_FormBaseRestoreCB(FL_OBJECT *, long);
+
+
 extern  "C" void C_FormBaseInputCB(FL_OBJECT *, long);
 
 extern  "C" void C_FormBaseInputCB(FL_OBJECT *, long);
@@ -15,26 +21,38 @@ extern  "C" void C_FormBaseInputCB(FL_OBJECT *, long);
 
 extern  "C" void C_FormBaseInputCB(FL_OBJECT *, long);
 
-extern  "C" void C_FormBaseApplyCB(FL_OBJECT *, long);
-extern  "C" void C_FormBaseCancelCB(FL_OBJECT *, long);
-extern  "C" void C_FormBaseOKCB(FL_OBJECT *, long);
-extern  "C" void C_FormBaseRestoreCB(FL_OBJECT *, long);
+extern  "C" void C_FormBaseInputCB(FL_OBJECT *, long);
 
+extern  "C" void C_FormBaseInputCB(FL_OBJECT *, long);
+
+extern  "C" void C_FormBaseInputCB(FL_OBJECT *, long);
+
+extern  "C" void C_FormBaseInputCB(FL_OBJECT *, long);
+
+extern  "C" void C_FormBaseInputCB(FL_OBJECT *, long);
+
+extern  "C" void C_FormBaseInputCB(FL_OBJECT *, long);
+
+extern  "C" void C_FormBaseInputCB(FL_OBJECT *, long);
 
 
 /**** Forms and Objects ****/
-struct FD_form_lnf_general {
-       ~FD_form_lnf_general();
+struct FD_form_preferences {
+       ~FD_form_preferences();
 
        FL_FORM *form;
-       FL_OBJECT *check_banner;
-       FL_OBJECT *check_auto_region_delete;
-       FL_OBJECT *check_exit_confirm;
-       FL_OBJECT *check_display_shortcuts;
-       FL_OBJECT *counter_autosave;
-       FL_OBJECT *counter_line_len;
-       FL_OBJECT *input_bind;
-       FL_OBJECT *button_bind_file_browse;
+       FL_OBJECT *tabfolder_prefs;
+       FL_OBJECT *button_apply;
+       FL_OBJECT *button_cancel;
+       FL_OBJECT *button_ok;
+       FL_OBJECT *button_restore;
+       FL_OBJECT *text_warning;
+};
+struct FD_form_outer_tab {
+       ~FD_form_outer_tab();
+
+       FL_FORM *form;
+       FL_OBJECT *tabfolder_outer;
 };
 struct FD_form_screen_fonts {
        ~FD_form_screen_fonts();
@@ -46,24 +64,133 @@ struct FD_form_screen_fonts {
        FL_OBJECT *counter_zoom;
        FL_OBJECT *check_scalable;
        FL_OBJECT *input_screen_encoding;
-       FL_OBJECT *input_tiny;
        FL_OBJECT *input_script;
        FL_OBJECT *input_footnote;
-       FL_OBJECT *input_small;
        FL_OBJECT *input_large;
-       FL_OBJECT *input_larger;
        FL_OBJECT *input_largest;
-       FL_OBJECT *input_normal;
        FL_OBJECT *input_huge;
+       FL_OBJECT *input_normal;
+       FL_OBJECT *counter_dpi;
+       FL_OBJECT *input_tiny;
+       FL_OBJECT *input_larger;
+       FL_OBJECT *input_small;
        FL_OBJECT *input_huger;
 };
-struct FD_form_interface_fonts {
-       ~FD_form_interface_fonts();
+struct FD_form_outputs_misc {
+       ~FD_form_outputs_misc();
+
+       FL_FORM *form;
+       FL_OBJECT *counter_line_len;
+       FL_OBJECT *input_tex_encoding;
+       FL_OBJECT *choice_default_papersize;
+       FL_OBJECT *input_ascii_roff;
+       FL_OBJECT *input_checktex;
+};
+struct FD_form_spellchecker {
+       ~FD_form_spellchecker();
+
+       FL_FORM *form;
+       FL_OBJECT *choice_spell_command;
+       FL_OBJECT *check_alt_lang;
+       FL_OBJECT *input_alt_lang;
+       FL_OBJECT *check_escape_chars;
+       FL_OBJECT *input_escape_chars;
+       FL_OBJECT *check_personal_dict;
+       FL_OBJECT *input_personal_dict;
+       FL_OBJECT *button_personal_dict;
+       FL_OBJECT *check_compound_words;
+       FL_OBJECT *check_input_enc;
+};
+struct FD_form_inputs_misc {
+       ~FD_form_inputs_misc();
+
+       FL_FORM *form;
+       FL_OBJECT *input_date_format;
+};
+struct FD_form_language {
+       ~FD_form_language();
+
+       FL_FORM *form;
+       FL_OBJECT *input_package;
+       FL_OBJECT *choice_default_lang;
+       FL_OBJECT *check_use_kbmap;
+       FL_OBJECT *check_rtl_support;
+       FL_OBJECT *check_mark_foreign;
+       FL_OBJECT *check_auto_begin;
+       FL_OBJECT *check_auto_end;
+       FL_OBJECT *input_command_begin;
+       FL_OBJECT *input_command_end;
+       FL_OBJECT *input_kbmap1;
+       FL_OBJECT *input_kbmap2;
+       FL_OBJECT *button_kbmap1_browse;
+       FL_OBJECT *button_kbmap2_browse;
+};
+struct FD_form_colors {
+       ~FD_form_colors();
+
+       FL_FORM *form;
+       FL_OBJECT *button_color;
+       FL_OBJECT *browser_lyx_objs;
+       FL_OBJECT *button_modify;
+       FL_OBJECT *slider_saturation;
+       FL_OBJECT *slider_value;
+       FL_OBJECT *dial_hue;
+       FL_OBJECT *slider_red;
+       FL_OBJECT *slider_blue;
+       FL_OBJECT *slider_green;
+       FL_OBJECT *button_colorspace;
+       FL_OBJECT *text_color_values;
+};
+struct FD_form_converters {
+       ~FD_form_converters();
+
+       FL_FORM *form;
+       FL_OBJECT *browser_all;
+       FL_OBJECT *button_delete;
+       FL_OBJECT *button_add;
+       FL_OBJECT *input_converter;
+       FL_OBJECT *choice_from;
+       FL_OBJECT *choice_to;
+       FL_OBJECT *input_flags;
+};
+struct FD_form_formats {
+       ~FD_form_formats();
+
+       FL_FORM *form;
+       FL_OBJECT *browser_all;
+       FL_OBJECT *input_format;
+       FL_OBJECT *input_gui_name;
+       FL_OBJECT *button_delete;
+       FL_OBJECT *button_add;
+       FL_OBJECT *input_extension;
+       FL_OBJECT *input_viewer;
+       FL_OBJECT *input_shrtcut;
+};
+struct FD_form_lnf_misc {
+       ~FD_form_lnf_misc();
+
+       FL_FORM *form;
+       FL_OBJECT *check_banner;
+       FL_OBJECT *check_auto_region_delete;
+       FL_OBJECT *check_exit_confirm;
+       FL_OBJECT *check_display_shrtcuts;
+       FL_OBJECT *counter_autosave;
+       FL_OBJECT *check_ask_new_file;
+       FL_OBJECT *check_cursor_follows_scrollbar;
+       FL_OBJECT *counter_wm_jump;
+};
+struct FD_form_interface {
+       ~FD_form_interface();
 
        FL_FORM *form;
        FL_OBJECT *input_popup_font;
        FL_OBJECT *input_menu_font;
        FL_OBJECT *input_popup_encoding;
+       FL_OBJECT *input_bind_file;
+       FL_OBJECT *button_bind_file_browse;
+       FL_OBJECT *input_ui_file;
+       FL_OBJECT *button_ui_file_browse;
+       FL_OBJECT *check_override_x_dead_keys;
 };
 struct FD_form_printer {
        ~FD_form_printer();
@@ -93,35 +220,21 @@ struct FD_form_paths {
 
        FL_FORM *form;
        FL_OBJECT *input_default_path;
-       FL_OBJECT *button_document_browse;
+       FL_OBJECT *button_default_path_browse;
        FL_OBJECT *counter_lastfiles;
        FL_OBJECT *input_template_path;
-       FL_OBJECT *button_template_browse;
+       FL_OBJECT *button_template_path_browse;
        FL_OBJECT *check_last_files;
-       FL_OBJECT *input_temp_dir;
        FL_OBJECT *button_temp_dir_browse;
        FL_OBJECT *input_lastfiles;
        FL_OBJECT *button_lastfiles_browse;
-       FL_OBJECT *check_use_temp_dir;
        FL_OBJECT *check_make_backups;
        FL_OBJECT *input_backup_path;
        FL_OBJECT *button_backup_path_browse;
-};
-struct FD_form_preferences {
-       ~FD_form_preferences();
-
-       FL_FORM *form;
-       FL_OBJECT *button_apply;
-       FL_OBJECT *button_cancel;
-       FL_OBJECT *button_ok;
-       FL_OBJECT *tabfolder_prefs;
-       FL_OBJECT *button_restore;
-};
-struct FD_form_outer_tab {
-       ~FD_form_outer_tab();
-
-       FL_FORM *form;
-       FL_OBJECT *tabfolder_outer;
+       FL_OBJECT *input_serverpipe;
+       FL_OBJECT *button_serverpipe_browse;
+       FL_OBJECT *input_temp_dir;
+       FL_OBJECT *check_use_temp_dir;
 };
 
-#endif /* FD_form_lnf_general_h_ */
+#endif /* FD_form_preferences_h_ */