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, int x, int y, ToolbarDefaults const &);
38 /// update the state of the icons
41 /// update the layout combox
42 void setLayout(string const & layout);
44 * Populate the layout combox - returns whether we did a full
47 bool updateLayoutList(int textclass);
48 /// Drop down the layout list
49 void openLayoutList();
50 /// Erase the layout list
51 void clearLayoutList();
53 /// Compaq cxx 6.5 requires this to be public
57 friend struct Toolbar::Pimpl;
62 * The last textclass layout list in the layout choice selector