2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
6 * Copyright 1995 Matthias Ettrich
7 * Copyright 1995-2001 The LyX Team.
9 * This file is Copyright 1996-2001
12 * ====================================================== */
24 class ToolbarDefaults;
27 /** The LyX GUI independent toolbar class
28 The GUI interface is implemented in the corresponding Toolbar_pimpl class.
33 Toolbar(LyXView * o, Dialogs & d,
34 int x, int y, ToolbarDefaults const &);
39 /// update the state of the icons
42 /// update the layout combox
43 void setLayout(string const & layout);
45 * Populate the layout combox - returns whether we did a full
48 bool updateLayoutList(int textclass);
49 /// Drop down the layout list
50 void openLayoutList();
51 /// Erase the layout list
52 void clearLayoutList();
54 /// Compaq cxx 6.5 requires this to be public
58 friend struct Toolbar::Pimpl;
63 * The last textclass layout list in the layout choice selector