X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetCollapsable.h;h=1c990f93c88c4c2103ac5695f97a4a0a102d59fc;hb=e15d3d35cba7266d8a1a22c7e4cd92d12599e103;hp=4008cee7425662bd7daab785f914de998c5d13ef;hpb=e7f2bbe1eec4752ae2c88481bd77320186bbb8fb;p=lyx.git diff --git a/src/insets/InsetCollapsable.h b/src/insets/InsetCollapsable.h index 4008cee742..1c990f93c8 100644 --- a/src/insets/InsetCollapsable.h +++ b/src/insets/InsetCollapsable.h @@ -45,7 +45,7 @@ public: /// docstring toolTip(BufferView const & bv, int x, int y) const; /// - docstring name() const { return from_ascii("Collapsable"); } + docstring layoutName() const { return from_ascii("Collapsable"); } /// void read(Lexer &); /// @@ -111,6 +111,10 @@ public: /// Default looks virtual InsetLayout::InsetDecoration decoration() const; + /// Inset font + virtual FontInfo getFont() const { return getLayout().font(); } + /// Label font + virtual FontInfo getLabelfont() const { return getLayout().labelfont(); } /// enum Geometry { TopButton, @@ -141,9 +145,9 @@ public: /// virtual bool usePlainLayout() const { return true; } /// - docstring contextMenu(BufferView const & bv, int x, int y) const; + std::string contextMenu(BufferView const & bv, int x, int y) const; /// - docstring contextMenuName() const; + std::string contextMenuName() const; /// docstring floatName(std::string const & type) const; protected: