]> git.lyx.org Git - lyx.git/blobdiff - src/insets/RenderButton.h
requires is a keyword in C++2a
[lyx.git] / src / insets / RenderButton.h
index a0436404cf745c833f4218eeea7e2d40afce26d3..2dc2da6c9ed4ff47e51f59a1f84a538df7fed69e 100644 (file)
@@ -33,7 +33,8 @@ public:
        virtual void draw(PainterInfo & pi, int x, int y) const;
 
        /// Provide the text for the button
-       void update(docstring const &, bool editable, bool inherit);
+       void update(docstring const &, bool editable,
+                   bool inherit, bool broken = false);
 
        /// The "sensitive area" box, i.e., the button area
        Box box() const { return button_box_; }
@@ -47,6 +48,7 @@ private:
        /// The stored data.
        docstring text_;
        bool editable_;
+       bool broken_;
        bool inherit_font_;
        Box button_box_;
 };