]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetLayout.h
- Simplify prefs, graphics and external display options which are now true or false.
[lyx.git] / src / insets / InsetLayout.h
index 27eae62e563cf5dd25b2b0096fb05477be4c4202..0d6ad2ae4fd670a16a70029ac699b6038ad49834 100644 (file)
@@ -25,20 +25,19 @@ namespace lyx {
 
 class Lexer;
 
-///
-enum InsetDecoration {
-       Deco_Classic,
-       Deco_Minimalistic,
-       Deco_Conglomerate,
-       Deco_Default
-};
-
 ///
 class InsetLayout {
 public:
        ///
        InsetLayout();
        ///
+       enum InsetDecoration {
+               Classic,
+               Minimalistic,
+               Conglomerate,
+               Default
+       };
+       ///
        bool read(Lexer & lexrc);
        ///
        docstring name() const { return name_; };
@@ -79,7 +78,11 @@ public:
 private:
        ///
        docstring name_;
-       ///
+       /**
+               * This is only used (at present) to decide where to put them on the menus.
+               * Values are 'charstyle', 'custom' (things that by default look like a
+               * footnote), 'element' (docbook), 'standard'.
+               */
        std::string lyxtype_;
        ///
        docstring labelstring_;