4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Lars Gullik Bjønnes
9 * Full author contact details are available in file CREDITS
17 #include "ToolbarBackend.h"
22 * The LyX GUI independent toolbar class
24 * The GUI interface is implemented in the corresponding Toolbar_pimpl class.
34 /// Initialize toolbar from backend
37 /// update the state of the toolbars
38 void update(bool in_math, bool in_table);
40 /// update the layout combox
41 virtual void setLayout(string const & layout) = 0;
43 * Populate the layout combox - returns whether we did a full
46 bool updateLayoutList(int textclass);
47 /// Drop down the layout list
48 virtual void openLayoutList() = 0;
49 /// Erase the layout list
50 virtual void clearLayoutList() = 0;
54 virtual void add(ToolbarBackend::Toolbar const & tb) = 0;
56 /// update the state of the icons
57 virtual void update() = 0;
59 /// show or hide a toolbar
60 virtual void displayToolbar(ToolbarBackend::Toolbar const & tb,
63 /// Populate the layout combox.
64 virtual void updateLayoutList() = 0;
68 * The last textclass layout list in the layout choice selector