diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-08-06 17:57:25 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-08-06 19:54:37 (GMT) |
| commit | 622f2246ef31a05eb38e8f2ab3ac9c1bd9264920 (patch) | |
| tree | fb9009f6803f395c9da457039a823a0ffcdfc98a /src/interface/Label.h | |
| parent | f75a3c264235d5edf162fd0f7bf6e04d629704f9 (diff) | |
| download | powder-622f2246ef31a05eb38e8f2ab3ac9c1bd9264920.zip powder-622f2246ef31a05eb38e8f2ab3ac9c1bd9264920.tar.gz | |
Fix TPTScript 'set' function
Diffstat (limited to 'src/interface/Label.h')
| -rw-r--r-- | src/interface/Label.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/interface/Label.h b/src/interface/Label.h index 1fa7148..77c28d6 100644 --- a/src/interface/Label.h +++ b/src/interface/Label.h @@ -14,6 +14,7 @@ namespace ui protected: std::string textFragments; std::string textLines; + std::string displayText; std::string text; Colour textColour; @@ -48,6 +49,7 @@ namespace ui virtual void SetMultiline(bool status); virtual void SetText(std::string text); + virtual void SetDisplayText(std::string newText); virtual std::string GetText(); virtual bool HasSelection(); |
