void RenderButton::update(docstring const & text, bool editable,
- bool inherit_font)
+ bool inherit)
{
text_ = text;
editable_ = editable;
- inherit_font_ = inherit_font;
+ inherit_font_ = inherit;
}
virtual void draw(PainterInfo & pi, int x, int y) const;
/// Provide the text for the button
- void update(docstring const &, bool editable, bool inherit_font);
+ void update(docstring const &, bool editable, bool inherit);
/// The "sensitive area" box, i.e., the button area
Box box() const { return button_box_; }