]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetArgument.h
Allow for some argument visual customization
[features.git] / src / insets / InsetArgument.h
index e3718b1b97491d035073c64d33be393ff8e4c914..bff6056934e8ad2d1e23c217539ae0043cb4f5eb 100644 (file)
@@ -60,10 +60,18 @@ public:
        void read(Lexer & lex);
        ///
        bool neverIndent() const { return true; }
+       ///
+       std::string contextMenuName() const;
        //@}
        /// \name Public functions inherited from InsetCollapsable class
        //@{
        ///
+       InsetLayout::InsetDecoration decoration() const;
+       ///
+       FontInfo getFont() const;
+       ///
+       FontInfo getLabelfont() const;
+       ///
        void setButtonLabel();
        //@}
 
@@ -76,11 +84,21 @@ private:
        docstring labelstring_;
        ///
        docstring tooltip_;
+       ///
+       FontInfo font_;
+       ///
+       FontInfo labelfont_;
+       ///
+       std::string decoration_;
 
 protected:
        /// \name Protected functions inherited from Inset class
        //@{
        ///
+       bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
+       ///
+       void doDispatch(Cursor & cur, FuncRequest & cmd);
+       ///
        Inset * clone() const { return new InsetArgument(*this); }
        //@}
 };