Code

family name field on svgfonts dialog now properly saves attribute. Should do the...
[inkscape.git] / src / ui / dialog / inkscape-preferences.h
index 6e8b6d0001b0d18d9c41f78089abb594d4fe134b..6efebb7427a7373ef7e3cf5a424dbe2d9ef9a4c0 100644 (file)
@@ -36,9 +36,6 @@
 // Otherwise the commands that open the dialog with the new page will fail.
 
 enum {
-    PREFS_PAGE_MOUSE,
-    PREFS_PAGE_SCROLLING,
-    PREFS_PAGE_STEPS,
     PREFS_PAGE_TOOLS,
     PREFS_PAGE_TOOLS_SELECTOR,
     PREFS_PAGE_TOOLS_NODE,
@@ -54,19 +51,27 @@ enum {
     PREFS_PAGE_TOOLS_PEN,
     PREFS_PAGE_TOOLS_CALLIGRAPHY,
     PREFS_PAGE_TOOLS_PAINTBUCKET,
+    PREFS_PAGE_TOOLS_ERASER,
     PREFS_PAGE_TOOLS_TEXT,
     PREFS_PAGE_TOOLS_GRADIENT,
     PREFS_PAGE_TOOLS_CONNECTOR,
     PREFS_PAGE_TOOLS_DROPPER,
-    PREFS_PAGE_WINDOWS,
+    PREFS_PAGE_SELECTING,
+    PREFS_PAGE_TRANSFORMS,
     PREFS_PAGE_CLONES,
     PREFS_PAGE_MASKS,
     PREFS_PAGE_FILTERS,
-    PREFS_PAGE_TRANSFORMS,
-    PREFS_PAGE_SELECTING,
-    PREFS_PAGE_IMPORTEXPORT,
+    PREFS_PAGE_BITMAPS,
     PREFS_PAGE_CMS,
     PREFS_PAGE_GRIDS,
+    PREFS_PAGE_SVGOUTPUT,
+    PREFS_PAGE_AUTOSAVE,
+    PREFS_PAGE_IMPORTEXPORT,
+    PREFS_PAGE_UI,
+    PREFS_PAGE_MOUSE,
+    PREFS_PAGE_SCROLLING,
+    PREFS_PAGE_STEPS,
+    PREFS_PAGE_WINDOWS,
     PREFS_PAGE_MISC
 };
 
@@ -105,10 +110,11 @@ protected:
 
     DialogPage _page_mouse, _page_scrolling, _page_steps, _page_tools, _page_windows,
         _page_clones, _page_mask, _page_transforms, _page_filters, _page_select,
-        _page_importexport, _page_cms, _page_grids, _page_misc;
+        _page_importexport, _page_cms, _page_grids, _page_svgoutput, _page_misc, 
+        _page_ui, _page_autosave, _page_bitmaps;
     DialogPage _page_selector, _page_node, _page_tweak, _page_zoom, _page_shapes, _page_pencil, _page_pen,
                _page_calligraphy, _page_text, _page_gradient, _page_connector, _page_dropper;
-    DialogPage _page_rectangle, _page_3dbox, _page_ellipse, _page_star, _page_spiral, _page_paintbucket;
+    DialogPage _page_rectangle, _page_3dbox, _page_ellipse, _page_star, _page_spiral, _page_paintbucket, _page_eraser;
 
     PrefSpinButton _mouse_sens, _mouse_thres;
     PrefCheckButton _mouse_use_ext_input;
@@ -129,8 +135,6 @@ protected:
     PrefSpinButton  _t_node_pathflash_timeout;
     PrefColorPicker _t_node_pathoutline_color;
 
-    PrefSpinButton  _t_pencil_tolerance;
-
     PrefRadioButton _win_dockable, _win_floating;
     PrefRadioButton _win_ontop_none, _win_ontop_normal, _win_ontop_agressive;
     PrefRadioButton _win_save_geom_off, _win_save_geom, _win_save_geom_prefs;
@@ -143,6 +147,7 @@ protected:
 
     PrefRadioButton _clone_option_parallel, _clone_option_stay, _clone_option_transform,
                     _clone_option_unlink, _clone_option_delete;
+    PrefCheckButton _clone_relink_on_duplicate;
 
     PrefCheckButton _mask_mask_on_top;
     PrefCheckButton _mask_mask_remove;
@@ -160,11 +165,20 @@ protected:
     PrefCheckButton _sel_layer_deselects;
 
     PrefSpinButton  _importexport_export, _misc_recent, _misc_simpl;
+    PrefSpinButton  _misc_latency_skew;
     PrefCheckButton _misc_comment, _misc_forkvectors, _misc_scripts;
     PrefCombo       _misc_small_toolbar;
     PrefCombo       _misc_small_secondary;
     PrefCombo       _misc_small_tools;
     PrefCombo       _misc_overs_bitmap;
+    PrefCombo       _misc_bitmap_editor;
+    PrefCheckButton _misc_bitmap_autoreload;
+    PrefSpinButton  _bitmap_copy_res;
+
+    PrefCheckButton _autosave_autosave_enable;
+    PrefSpinButton  _autosave_autosave_interval;
+    PrefEntry       _autosave_autosave_path;
+    PrefSpinButton  _autosave_autosave_max;
 
     Gtk::ComboBoxText   _cms_display_profile;
     PrefCheckButton     _cms_from_display;
@@ -202,6 +216,15 @@ protected:
         PrefColorPicker     _grids_axonom_empcolor;
         PrefSpinButton      _grids_axonom_empspacing;
 
+    // SVG Output page:
+    PrefCheckButton   _svgoutput_usenamedcolors;
+    PrefSpinButton    _svgoutput_numericprecision;
+    PrefSpinButton    _svgoutput_minimumexponent;
+    PrefCheckButton   _svgoutput_inlineattrs;
+    PrefSpinButton    _svgoutput_indent;
+    PrefCheckButton   _svgoutput_allowrelativecoordinates;
+    PrefCheckButton   _svgoutput_forcerepeatcommands;
+
     PrefEntryButtonHBox _importexport_ocal_url;
     PrefEntry       _importexport_ocal_username;
     PrefEntry       _importexport_ocal_password;
@@ -220,7 +243,7 @@ protected:
     static void AddGradientCheckbox(DialogPage& p, const std::string& prefs_path, bool def_value);
     static void AddConvertGuidesCheckbox(DialogPage& p, const std::string& prefs_path, bool def_value);
     static void AddDotSizeSpinbutton(DialogPage& p, const std::string& prefs_path, double def_value);
-    static void AddNewObjectsStyle(DialogPage& p, const std::string& prefs_path);
+    static void AddNewObjectsStyle(DialogPage& p, const std::string& prefs_path, const gchar* banner = NULL);
 
     void on_pagelist_selection_changed();
     void initPageMouse();
@@ -236,6 +259,10 @@ protected:
     void initPageImportExport();
     void initPageCMS();
     void initPageGrids();
+    void initPageSVGOutput();
+    void initPageUI();
+    void initPageAutosave();
+    void initPageBitmaps();
     void initPageMisc();
 
     void _presentPages();