]> git.lyx.org Git - lyx.git/blobdiff - src/LyXRC.h
Fix functions that used functions but did not defined it
[lyx.git] / src / LyXRC.h
index db7c539a06a39c29b5e9cdf093e54a2380aba1ea..753a6f4f61a2ffd9ecca5b137f28512a62a5c5c1 100644 (file)
 
 namespace lyx {
 
-namespace support { class FileName; }
-
+namespace support {
+class FileName;
 class Lexer;
+}
 
 /// This contains the runtime configuration of LyX
 class LyXRC
@@ -173,6 +174,7 @@ public:
                RC_TEXINPUTS_PREFIX,
                RC_THESAURUSDIRPATH,
                RC_UIFILE,
+               RC_UI_STYLE,
                RC_USELASTFILEPOS,
                RC_USER_EMAIL,
                RC_USER_INITIALS,
@@ -211,7 +213,7 @@ private:
                FormatMismatch
        };
        ///
-       ReturnValues read(Lexer &, bool check_format);
+       ReturnValues read(support::Lexer &, bool check_format);
 public:
        ///
        typedef std::set<std::string> CommandSet;
@@ -252,7 +254,7 @@ public:
        /// given citation.
        bool citation_search = false;
        /// Name of external script which searches for file corresponding to a 
-       /// given citation. At this moment only script lyxpaperview.p is supported
+       /// given citation. At this moment only script lyxpaperview.py is supported
        /// (search for pdf or ps based on specific items)
        std::string citation_search_view;
        /// Items to search for in citation_search_view
@@ -473,6 +475,8 @@ public:
        std::string user_initials;
        /// icon set name
        std::string icon_set;
+       /// ui style name
+       std::string ui_style = "default";
        /// whether to use the icons from the theme
        bool use_system_theme_icons = false;
        /// True if the TeX engine cannot handle posix paths
@@ -576,8 +580,8 @@ public:
        BookmarksVisibility bookmarks_visibility = BMK_NONE;
 
        enum DrawStrategy {
-               // draw all (not implemented yet)
-               // FS_FULL,
+               // draw all
+               DS_FULL,
                // draw only what has changed
                DS_PARTIAL,
                // draw in backing store (only what has changed)