- typedef std::vector<std::pair<int, string> > Items;
-
- /// possibly display types
- enum DisplayType {
- OFF, //< never shown
- ON, //< always shown
- MATH, //< shown when in math
- TABLE //< shown when in table
+ typedef std::vector<Item> Items;
+
+ /// toolbar flags
+ enum Flags {
+ ON = 1, //< always shown
+ OFF = 2, //< never shown
+ MATH = 4, //< shown when in math
+ TABLE = 8, //< shown when in table
+ TOP = 16, //< show at top
+ BOTTOM = 32, //< show at bottom
+ LEFT = 64, //< show at left
+ RIGHT = 128, //< show at right
+ REVIEW = 256, //< shown when change tracking is enabled
+ AUTO = 512 //< only if AUTO is set, will MATH, TABLE and REIVEW is used