diff options
Diffstat (limited to 'src/ui/label.h')
-rw-r--r-- | src/ui/label.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/label.h b/src/ui/label.h index 9188dc5..2a38273 100644 --- a/src/ui/label.h +++ b/src/ui/label.h @@ -28,6 +28,9 @@ public: /// set the text alignment void set_alignment(const unsigned int alignment); + + /// clear the label text + void clear(); /// return the text displayed by the label inline const std::string &text() const { |