X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fxforms%2FToolbar_pimpl.h;h=bbafe2373ca028bf237149c1917c1fda40f21d9e;hb=765db1102d7edf01d2fd7b667c75095f843ab476;hp=d9af62d54a28324eb1ec5029c8f0edfa216ac958;hpb=c9196a82ffa4eb62e1b8f67218e38af0c36d62f8;p=lyx.git diff --git a/src/frontends/xforms/Toolbar_pimpl.h b/src/frontends/xforms/Toolbar_pimpl.h index d9af62d54a..bbafe2373c 100644 --- a/src/frontends/xforms/Toolbar_pimpl.h +++ b/src/frontends/xforms/Toolbar_pimpl.h @@ -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