X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetInclude.h;h=d62c751abe785bd57754cd89f2e69cf770f36ebf;hb=8124e6c02ea1fd6779bb6c47ffe2bca2c8bd2d97;hp=a2542543e3be87ba7602749481e8018ccc790b17;hpb=2a594d3e90a673c56df9766658a79cf0bcaeb9a8;p=lyx.git diff --git a/src/insets/InsetInclude.h b/src/insets/InsetInclude.h index a2542543e3..d62c751abe 100644 --- a/src/insets/InsetInclude.h +++ b/src/insets/InsetInclude.h @@ -5,7 +5,7 @@ * Licence details can be found in the file COPYING. * * \author Lars Gullik Bjønnes - * \author Richard Heck (conversion to InsetCommand) + * \author Richard Kimberly Heck (conversion to InsetCommand) * * Full author contact details are available in file CREDITS. */ @@ -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_;