2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 1995 Matthias Ettrich
8 * Copyright 1995-2001 The LyX Team.
11 * ====================================================== */
14 #ifndef TOOLBARDEFAULTS_H
15 #define TOOLBARDEFAULTS_H
28 class ToolbarDefaults {
30 /// The special toolbar actions
32 /// adds space between buttons in the toolbar
34 /// a special combox insead of a button
36 /// begin a new line of button (not working)
41 typedef std::vector<int> Defaults;
43 typedef Defaults::iterator iterator;
45 typedef Defaults::const_iterator const_iterator;
50 return defaults.begin();
53 const_iterator begin() const {
54 return defaults.begin();
58 return defaults.end();
61 const_iterator end() const {
62 return defaults.end();
69 /// This func is just to make it easy for me...
72 void add(string const &);
77 /// The global instance
78 extern ToolbarDefaults toolbardefaults;