]> git.lyx.org Git - lyx.git/blobdiff - src/Layout.h
Allow for some argument visual customization
[lyx.git] / src / Layout.h
index c115c549a8b569b4fe8667bddcde694e86b41dba..b0c3ac5bad36eab221f67dc81bbaa0a504bff0cd 100644 (file)
@@ -94,8 +94,10 @@ public:
                docstring ldelim;
                docstring rdelim;
                docstring tooltip;
-               std::string shortcut;
                std::string requires;
+               std::string decoration;
+               FontInfo font;
+               FontInfo labelfont;
        };
        ///
        typedef std::map<unsigned int, latexarg> LaTeXArgMap;
@@ -125,6 +127,10 @@ public:
        ///
        std::string const & latexparam() const { return latexparam_; }
        ///
+       docstring leftdelim() const { return leftdelim_; }
+       ///
+       docstring rightdelim() const { return rightdelim_; }
+       ///
        std::string const & innertag() const { return innertag_; }
        ///
        std::string const & labeltag() const { return labeltag_; }
@@ -315,6 +321,10 @@ private:
        docstring labelstring_appendix_;
        /// LaTeX parameter for environment
        std::string latexparam_;
+       /// Left delimiter of the content
+       docstring leftdelim_;
+       /// Right delimiter of the content
+       docstring rightdelim_;
        /// Internal tag to use (e.g., <title></title> for sect header)
        std::string innertag_;
        /// Internal tag to use (e.g. to surround varentrylist label)