X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetInclude.h;h=d62c751abe785bd57754cd89f2e69cf770f36ebf;hb=8124e6c02ea1fd6779bb6c47ffe2bca2c8bd2d97;hp=4b589ca4d8a8e7eff685ef8ce28c450cbbdc4401;hpb=41216228c02b15c82650b052a35a672eae4fa208;p=lyx.git diff --git a/src/insets/InsetInclude.h b/src/insets/InsetInclude.h index 4b589ca4d8..d62c751abe 100644 --- a/src/insets/InsetInclude.h +++ b/src/insets/InsetInclude.h @@ -15,8 +15,6 @@ #include "InsetCommand.h" -#include "RenderButton.h" - #include "support/unique_ptr.h" @@ -70,12 +68,14 @@ public: void setBuffer(Buffer & buffer) override; /// bool isLabeled() const override { return true; } + /// + bool inheritFont() const override; /// Override these InsetButton methods if Previewing void metrics(MetricsInfo & mi, Dimension & dim) const override; /// void draw(PainterInfo & pi, int x, int y) const override; /// - RowFlags rowFlags() const override; + int rowFlags() const override; /// InsetCode lyxCode() const override { return INCLUDE_CODE; } /// @@ -168,8 +168,6 @@ private: /// mutable bool failedtoload_; /// cache - mutable bool set_label_; - mutable RenderButton button_; mutable docstring listings_label_; InsetLabel * label_; mutable Buffer * child_buffer_;