]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Toolbar.h
Create a grfx::Loader class and so move large chunks of code out of
[lyx.git] / src / frontends / Toolbar.h
index 0f15083bc0bfdd389272da5b3a85e30de4e9fa25..3558f73121ed500e851f5064e3e18a4b720bab42 100644 (file)
@@ -55,18 +55,27 @@ public:
 
        /// update the layout combox
        void setLayout(string const & layout);
-       /// Populate the layout combox; re-do everything if force is true.
-       void updateLayoutList(bool force);
+       /** 
+        * Populate the layout combox - returns whether we did a full 
+        * update or not
+        */
+       bool updateLayoutList(int textclass);
        /// Drop down the layout list
        void openLayoutList();
        /// Erase the layout list
        void clearLayoutList();
 
-private:
+       /// Compaq cxx 6.5 requires this to be public
        struct Pimpl;
+private:
        ///
        friend struct Toolbar::Pimpl;
        ///
        Pimpl * pimpl_;
+
+       /**
+        * The last textclass layout list in the layout choice selector
+        */
+       int last_textclass_;
 };
 #endif