diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-01-22 23:24:49 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-01-22 23:24:49 (GMT) |
| commit | 8c0678fa48f9598a5ade2d4960c46bfea7e6abef (patch) | |
| tree | 880535e7984c24948d345932f680ef806baa4cec /src/interface/Button.h | |
| parent | 19c1fa5dcb4c4a2ba9d692e136b17da316a2631b (diff) | |
| download | powder-8c0678fa48f9598a5ade2d4960c46bfea7e6abef.zip powder-8c0678fa48f9598a5ade2d4960c46bfea7e6abef.tar.gz | |
Begining menu, tool
Diffstat (limited to 'src/interface/Button.h')
| -rw-r--r-- | src/interface/Button.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/interface/Button.h b/src/interface/Button.h index 7728218..a137aac 100644 --- a/src/interface/Button.h +++ b/src/interface/Button.h @@ -53,6 +53,7 @@ public: inline bool GetToggleState(); inline void SetToggleState(bool state); void SetActionCallback(ButtonAction * action); + ButtonAction * GetActionCallback() { return actionCallback; } void TextPosition(); void SetText(std::string buttonText); HorizontalAlignment GetHAlignment() { return textHAlign; } |
