diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-08-31 18:39:11 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-08-31 18:39:11 (GMT) |
| commit | 493a32a1b28f15cf02bb69c3735b9a411448c523 (patch) | |
| tree | 838b39db197c1f9cab5740703bb03f9b24702c56 /src/interface/Button.h | |
| parent | 322d224fa7a1d5f155c87596bb2f5927989e9933 (diff) | |
| download | powder-493a32a1b28f15cf02bb69c3735b9a411448c523.zip powder-493a32a1b28f15cf02bb69c3735b9a411448c523.tar.gz | |
Some Lua interface API stuff
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 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; |
