X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FToolbarDefaults.h;h=a3ffb4de2d9555ddeca8c95b0f2db8e0ee3a7f4d;hb=98c966c64594611e469313314abd1e59524adb4a;hp=91fe0cc4c804806f6455650acbbc82c6d1d1a844;hpb=77e706c44175f3cf71473a42d5db890c77b3b7b3;p=lyx.git diff --git a/src/ToolbarDefaults.h b/src/ToolbarDefaults.h index 91fe0cc4c8..a3ffb4de2d 100644 --- a/src/ToolbarDefaults.h +++ b/src/ToolbarDefaults.h @@ -1,8 +1,23 @@ // -*- 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 #include "LString.h" @@ -12,6 +27,16 @@ class LyXLex; /// 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 Defaults; /// @@ -49,7 +74,8 @@ private: Defaults defaults; }; -#endif - +/// The global instance +extern ToolbarDefaults toolbardefaults; +#endif