X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetHFill.h;h=0364e6ecb1e76f19de6246ed34b37bca61b6581b;hb=0362c6aae73c293d1c20277c12d362acfe0b2ef6;hp=554cd9eb9f518e365b437860fcb4a5b38196ecc8;hpb=237c132c1e6fc720b87f2fea6deb18a8395cbe0a;p=lyx.git diff --git a/src/insets/InsetHFill.h b/src/insets/InsetHFill.h index 554cd9eb9f..0364e6ecb1 100644 --- a/src/insets/InsetHFill.h +++ b/src/insets/InsetHFill.h @@ -25,9 +25,11 @@ public: /// void metrics(MetricsInfo &, Dimension &) const; /// + void draw(PainterInfo & pi, int x, int y) const; + /// docstring const getScreenLabel(Buffer const &) const; /// - Inset::Code lyxCode() const { return Inset::HFILL_CODE; } + InsetCode lyxCode() const { return HFILL_CODE; } /// int plaintext(Buffer const &, odocstream &, OutputParams const &) const; @@ -41,7 +43,15 @@ public: /// is this equivalent to a space (which is BTW different from // a line separator)? bool isSpace() const; + /// + static ParamInfo const & findInfo(std::string const &); + /// + static std::string defaultCommand() { return "hfill"; }; + /// + static bool isCompatibleCommand(std::string const & s) + { return s == "hfill"; } private: + /// virtual Inset * clone() const; };