]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Toolbar.h
fix tooltips in toolbar
[lyx.git] / src / frontends / Toolbar.h
index 3558f73121ed500e851f5064e3e18a4b720bab42..77c1bd52d92caecb247201c478f6e1202c385565 100644 (file)
@@ -22,6 +22,7 @@
 
 class LyXView;
 class ToolbarDefaults;
+class Dialogs;
 
 /** The LyX GUI independent toolbar class
   The GUI interface is implemented in the corresponding Toolbar_pimpl class.
@@ -29,34 +30,19 @@ class ToolbarDefaults;
 class Toolbar {
 public:
        ///
-       Toolbar(LyXView * o, int x, int y, ToolbarDefaults const &);
+       Toolbar(LyXView * o, Dialogs & d,
+               int x, int y, ToolbarDefaults const &);
 
        ///
        ~Toolbar();
 
-       /// (re)sets the toolbar
-       void set(bool doingmain = false);
-
-       /** this is to be the entry point to the toolbar
-         frame, where you can change the toolbar realtime. */
-       void edit();
-       /// add a new button to the toolbar.
-       void add(int , bool doclean = true);
-       /// name of func instead of kb_action
-       void add(string const & , bool doclean = true);
-       /// invokes the n'th icon in the toolbar
-       void push(int);
-       /// activates the toolbar
-       void activate();
-       /// deactivates the toolbar
-       void deactivate();
        /// update the state of the icons
        void update();
 
        /// update the layout combox
        void setLayout(string const & layout);
-       /** 
-        * Populate the layout combox - returns whether we did a full 
+       /**
+        * Populate the layout combox - returns whether we did a full
         * update or not
         */
        bool updateLayoutList(int textclass);