index 08dbcedf93266a2c7b27a3906171ab7c23c3d456..6efebb7427a7373ef7e3cf5a424dbe2d9ef9a4c0 100644 (file)
// 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,
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
};
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;
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;
PrefCheckButton _win_hide_task, _win_zoom_resize , _win_show_close;
-// FIXME: Temporary Win32 special code to enable transient dialogs
-#ifdef WIN32
- PrefCheckButton _win_ontop_win32;
-#endif
-
PrefCheckButton _calligrapy_use_abs_size;
PrefCheckButton _calligrapy_keep_selected;
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;
PrefCheckButton _sel_layer_deselects;
PrefSpinButton _importexport_export, _misc_recent, _misc_simpl;
+ PrefSpinButton _misc_latency_skew;
PrefCheckButton _misc_comment, _misc_forkvectors, _misc_scripts;
- PrefCheckButton _misc_small_toolbar;
- PrefCheckButton _misc_small_tools;
+ 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;
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;
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();
void initPageImportExport();
void initPageCMS();
void initPageGrids();
+ void initPageSVGOutput();
+ void initPageUI();
+ void initPageAutosave();
+ void initPageBitmaps();
void initPageMisc();
void _presentPages();