]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetCommand.h
Add possibility for command inset to inherit enclosing font
[features.git] / src / insets / InsetCommand.h
index 0514e09ffe987d38e19fb07608486db6e3460ebc..78e6d7fc5d6f6c9aba604018db08e681d9ce5220 100644 (file)
@@ -125,6 +125,8 @@ private:
        RenderButton & button() const { return button_; }
        /// This should provide the text for the button
        virtual docstring screenLabel() const = 0;
+       /// This should return true when font is inherited from text
+       virtual bool inheritFont() const { return false; }
 
        /// \name Static public methods obligated for InsetCommand derived classes
        //@{