diff options
Diffstat (limited to 'gui/widget.h')
-rw-r--r-- | gui/widget.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/widget.h b/gui/widget.h index 1ce9ba9285..3a97cab747 100644 --- a/gui/widget.h +++ b/gui/widget.h @@ -134,9 +134,9 @@ protected: public: StaticTextWidget(GuiObject *boss, int x, int y, int w, int h, const String &text, TextAlignment align); void setValue(int value); - void setLabel(const String &label) { _label = label; } + void setLabel(const String &label); const String &getLabel() const { return _label; } - void setAlign(TextAlignment align) { _align = align; } + void setAlign(TextAlignment align); TextAlignment getAlign() const { return _align; } protected: |