]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/Toolbar_pimpl.h
Applied John's FileDialog patch.
[lyx.git] / src / frontends / xforms / Toolbar_pimpl.h
index d9af62d54a28324eb1ec5029c8f0edfa216ac958..bbafe2373ca028bf237149c1917c1fda40f21d9e 100644 (file)
@@ -30,6 +30,8 @@
   */
 struct Toolbar::Pimpl {
 public:
+       /// called when user selects a layout from combox
+       static void layoutSelectedCB(int, void *, Combox *);
        ///
        Pimpl(LyXView * o, int x, int y);
 
@@ -61,6 +63,7 @@ public:
        /// update the state of the icons
        void update();
 
        /// select the right layout in the combox
        void setLayout(int layout);
        /// Populate the layout combox; re-do everything if force is true.
@@ -69,6 +72,8 @@ public:
        void openLayoutList();
        /// Erase the layout list
        void clearLayoutList();
+       /// and the non-static version
+       void layoutSelected(int); 
 
        ///
        struct toolbarItem