summaryrefslogtreecommitdiff
path: root/src/interface/Button.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/interface/Button.h')
-rw-r--r--src/interface/Button.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/interface/Button.h b/src/interface/Button.h
index 6b7fb96..2244a91 100644
--- a/src/interface/Button.h
+++ b/src/interface/Button.h
@@ -53,6 +53,7 @@ public:
ButtonAction * GetActionCallback() { return actionCallback; }
void SetText(std::string buttonText);
void SetIcon(Icon icon);
+ inline std::string GetText() { return ButtonText; };
protected:
std::string toolTip;