X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsettext.h;h=a2dd9f98a993545f27db2a944adb93e8df52160f;hb=e28331ed63062dea10d0a21b9ec12034b4b17b9a;hp=1baf6fc9fbd19c35710754a87124aa64adf36eda;hpb=eb651c3d6100eac2d3ec6d176234a0f9512671b9;p=lyx.git diff --git a/src/insets/insettext.h b/src/insets/insettext.h index 1baf6fc9fb..a2dd9f98a9 100644 --- a/src/insets/insettext.h +++ b/src/insets/insettext.h @@ -50,7 +50,7 @@ public: /// void write(Buffer const & buf, std::ostream & os) const; /// - void metrics(MetricsInfo & mi, Dimension & dim) const; + bool metrics(MetricsInfo & mi, Dimension & dim) const; /// void draw(PainterInfo & pi, int x, int y) const; /// draw inset selection @@ -133,7 +133,9 @@ public: /// InsetText(InsetText const &); /// - bool & Wide() const { return wide_inset_; } + bool wide() const { return wide_inset_; } + /// + void setWide(bool wide_inset) { wide_inset_ = wide_inset; } protected: /// @@ -156,7 +158,7 @@ private: /// static int border_; /// - mutable bool wide_inset_; + bool wide_inset_; public: /// mutable LyXText text_;