X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathSplit.h;h=8893e7fe1d9e638515a0532d40269e00303dc564;hb=5fdc577badb1cb133d6a0dc7d831bb1f82576adb;hp=0310ce13c492ca6495b8e068a0f7c8697fa11fa3;hpb=85425d8e6c8f0195a5fbe0082bf73723898a3ccb;p=lyx.git diff --git a/src/mathed/InsetMathSplit.h b/src/mathed/InsetMathSplit.h index 0310ce13c4..8893e7fe1d 100644 --- a/src/mathed/InsetMathSplit.h +++ b/src/mathed/InsetMathSplit.h @@ -22,7 +22,9 @@ class InsetMathSplit : public InsetMathGrid { public: /// explicit InsetMathSplit(Buffer * buf, docstring const & name, - char valign = 'c'); + char valign = 'c', bool numbered = false); + /// + void metrics(MetricsInfo & mi, Dimension & dim) const; /// void draw(PainterInfo & pi, int x, int y) const; /// @@ -41,8 +43,12 @@ public: /// int defaultColSpace(col_type) { return 0; } /// + int displayColSpace(col_type col) const; + /// char defaultColAlign(col_type); /// + char displayColAlign(idx_type idx) const; + /// InsetCode lyxCode() const { return MATH_SPLIT_CODE; } private: @@ -50,6 +56,8 @@ private: virtual Inset * clone() const; /// docstring name_; + /// + bool numbered_; };