X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetLayout.h;h=0d6ad2ae4fd670a16a70029ac699b6038ad49834;hb=4a1be58591ea5a7431d9426abb27d8b946c634cb;hp=21d11a6f3a5c1ba71d2accd3b8e646d9932168a7;hpb=7889ccc0eb109e26e1721657841eef1e27bbe766;p=lyx.git diff --git a/src/insets/InsetLayout.h b/src/insets/InsetLayout.h index 21d11a6f3a..0d6ad2ae4f 100644 --- a/src/insets/InsetLayout.h +++ b/src/insets/InsetLayout.h @@ -24,13 +24,20 @@ namespace lyx { class Lexer; - + /// class InsetLayout { public: /// InsetLayout(); /// + enum InsetDecoration { + Classic, + Minimalistic, + Conglomerate, + Default + }; + /// bool read(Lexer & lexrc); /// docstring name() const { return name_; }; @@ -39,8 +46,7 @@ public: /// docstring labelstring() const { return labelstring_; }; /// - //FIXME This could be an enum - std::string decoration() const { return decoration_; }; + InsetDecoration decoration() const { return decoration_; }; /// std::string latextype() const { return latextype_; }; /// @@ -72,12 +78,16 @@ 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_; /// - std::string decoration_; + InsetDecoration decoration_; /// std::string latextype_; ///