]> git.lyx.org Git - lyx.git/blobdiff - src/lyxrc.h
another fix
[lyx.git] / src / lyxrc.h
index 1a7c1fa04250fb62c63c0aef9263757e6da90d51..a8a1951aebd7ebd1619ae84adf7ef1c58513bc64 100644 (file)
@@ -17,6 +17,7 @@
 #endif
 
 #include "bufferparams.h" // Just to get the enum BufferParams::PAPER_SIZE (sic)
+#include "graphics/GraphicsTypes.h"
 
 // #include <boost/utility.hpp>
 
@@ -96,8 +97,6 @@ enum LyXRCTags {
        RC_CHKTEX_COMMAND,
        RC_CURSOR_FOLLOWS_SCROLLBAR,
        RC_DIALOGS_ICONIFY_WITH_MAIN,
-       RC_EXIT_CONFIRMATION,
-       RC_DISPLAY_SHORTCUTS,
        RC_MAKE_BACKUP,
        RC_BACKUPDIR_PATH,
        RC_RTL_SUPPORT,
@@ -117,10 +116,12 @@ enum LyXRCTags {
        RC_CONVERTER,
        RC_VIEWER,
        RC_FORMAT,
-       RC_NEW_ASK_FILENAME,
        RC_DEFAULT_LANGUAGE,
        RC_LABEL_INIT_LENGTH,
        RC_DISPLAY_GRAPHICS,
+       RC_PREVIEW,
+       RC_PREVIEW_HASHED_LABELS,
+       RC_PREVIEW_SCALE_FACTOR,
 #ifdef USE_PSPELL
        RC_USE_PSPELL,
 #endif
@@ -133,7 +134,7 @@ enum LyXRCTags {
        ///
        void setDefaults();
        ///
-       int read (string const & filename);
+       int read(string const & filename);
        ///
        void readBindFileIfNeeded();
        ///
@@ -300,10 +301,6 @@ enum LyXRCTags {
        string isp_esc_chars;
        ///
        bool use_kbmap;
-       /// Ask for confirmation of exit when there are unsaved documents?
-       bool exit_confirmation;
-       /// Should we display short-cut information in the minibuffer?
-       bool display_shortcuts;
        ///
        string primary_kbmap;
        ///
@@ -334,13 +331,9 @@ enum LyXRCTags {
        bool auto_number;
        ///
        bool mark_foreign_language;
-       ///
-       bool show_banner;
        /// Do we have to use a GUI?
        bool use_gui;
        ///
-       bool new_ask_filename;
-       ///
        string default_language;
        ///
        bool cursor_follows_scrollbar;
@@ -349,7 +342,16 @@ enum LyXRCTags {
        ///
        int label_init_length;
        ///
-       string display_graphics;
+       grfx::DisplayType display_graphics;
+       ///
+       bool show_banner;
+       ///
+       bool preview;
+       ///
+       bool preview_hashed_labels;
+       ///
+       float preview_scale_factor;
+       
 private:
        /// Is a bind file already (or currently) read?
        bool hasBindFile;