diff options
author | Stijn Buys <ingar@osirion.org> | 2010-09-18 13:25:37 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2010-09-18 13:25:37 +0000 |
commit | fc4809e41bc5694231046eb2fd4c324c4daba13f (patch) | |
tree | 02f183a0779aa0457e13f42037f3631ea28b7b65 /src/ui/label.cc | |
parent | 8c6a1a404ac8d1589a37d54b3b7ce0d776fe4751 (diff) |
cosmetic updates in engine list functions, trade menu updates
Diffstat (limited to 'src/ui/label.cc')
-rw-r--r-- | src/ui/label.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ui/label.cc b/src/ui/label.cc index 3284d0e..b6f72c7 100644 --- a/src/ui/label.cc +++ b/src/ui/label.cc @@ -30,6 +30,11 @@ void Label::print(const size_t indent) const con_print << aux::pad_left(marker, indent*2) << label() << " \"" << text() << "\"" << std::endl; } +void Label::clear() +{ + label_text.clear(); +} + void Label::set_text(const char *text) { if (text) |