diff options
Diffstat (limited to 'src/interface/Checkbox.cpp')
| -rw-r--r-- | src/interface/Checkbox.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/interface/Checkbox.cpp b/src/interface/Checkbox.cpp index 2481b23..c0dd47b 100644 --- a/src/interface/Checkbox.cpp +++ b/src/interface/Checkbox.cpp @@ -25,6 +25,11 @@ void Checkbox::SetText(std::string text) this->text = text; } +std::string Checkbox::GetText() +{ + return text; +} + void Checkbox::OnMouseClick(int x, int y, unsigned int button) { if(checked) |
