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.
15 #include "ToolbarBackend.h"
20 * The LyX GUI independent toolbar class
22 * The GUI interface is implemented in the corresponding Toolbar_pimpl class.
32 /// Initialize toolbar from backend
35 /// update the state of the toolbars
36 void update(bool in_math, bool in_table);
38 /// update the layout combox
39 virtual void setLayout(std::string const & layout) = 0;
41 * Populate the layout combox - returns whether we did a full
44 bool updateLayoutList(int textclass);
45 /// Drop down the layout list
46 virtual void openLayoutList() = 0;
47 /// Erase the layout list
48 virtual void clearLayoutList();
52 virtual void add(ToolbarBackend::Toolbar const & tb) = 0;
54 /// update the state of the icons
55 virtual void update() = 0;
57 /// show or hide a toolbar
58 virtual void displayToolbar(ToolbarBackend::Toolbar const & tb,
61 /// Populate the layout combox.
62 virtual void updateLayoutList() = 0;
66 * The last textclass layout list in the layout choice selector