]> git.lyx.org Git - lyx.git/blobdiff - src/LyXRC.h
Allow negative values for counters
[lyx.git] / src / LyXRC.h
index bf6572891a0547789098dbb1bd51f721e08d37fc..6e82a6def98e9db9ba5e6c07225616d60a02f17c 100644 (file)
@@ -51,6 +51,7 @@ public:
                RC_BIBTEX_ALTERNATIVES,
                RC_BIBTEX_COMMAND,
                RC_BINDFILE,
+               RC_BOOKMARKS_VISIBILITY,
                RC_CHECKLASTFILES,
                RC_CHKTEX_COMMAND,
                RC_CITATION_SEARCH,
@@ -188,13 +189,14 @@ public:
                RC_VIEWER_ALTERNATIVES,
                RC_VISUAL_CURSOR,
                RC_CLOSE_BUFFER_WITH_LAST_VIEW,
+               RC_DRAW_STRATEGY,
                RC_LAST
        };
 
        ///
        LyXRC() : user_name(support::user_name()),
                  user_email(support::user_email()) // always empty
-               {};
+               {}
 
        /// \param check_format: whether to try to convert the file format,
        /// if it is not current. this should only be true, really, for the
@@ -564,6 +566,25 @@ public:
        int cursor_width = 0;
        /// One of: yes, no, ask
        std::string close_buffer_with_last_view = "yes";
+       enum BookmarksVisibility {
+               BMK_NONE,
+               BMK_MARGIN,
+               BMK_INLINE
+       };
+
+       ///
+       BookmarksVisibility bookmarks_visibility = BMK_NONE;
+
+       enum DrawStrategy {
+               // draw all (not implemented yet)
+               // FS_FULL,
+               // draw only what has changed
+               DS_PARTIAL,
+               // draw in backing store (only what has changed)
+               DS_BACKINGSTORE
+       };
+       ///
+       DrawStrategy draw_strategy = DS_PARTIAL;
 };