// -*- C++ -*-
+/* This file is part of
+ * ======================================================
+ *
+ * LyX, The Document Processor
+ *
+ * Copyright 1995 Matthias Ettrich
+ * Copyright 1995-2001 The LyX Team.
+ *
+ *
+ * ====================================================== */
+
#ifndef TOOLBARDEFAULTS_H
#define TOOLBARDEFAULTS_H
+#ifdef __GNUG__
+#pragma interface
+#endif
+
#include <vector>
#include "LString.h"
///
class ToolbarDefaults {
public:
+ /// The special toolbar actions
+ enum ItemType {
+ /// adds space between buttons in the toolbar
+ SEPARATOR=-3,
+ /// a special combox insead of a button
+ LAYOUTS=-2,
+ /// begin a new line of button (not working)
+ NEWLINE=-1
+ };
+
///
typedef std::vector<int> Defaults;
///
Defaults defaults;
};
-#endif
-
+/// The global instance
+extern ToolbarDefaults toolbardefaults;
+#endif