summaryrefslogtreecommitdiff
path: root/src/gui/widgets/label.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-05 20:30:26 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-05 20:30:26 +0300
commit322aea1d69a47e8080bcd0552473a5a5d66c5e1a (patch)
tree10065fb47c0ee488e3e04da3bb86b3ddaa110e2a /src/gui/widgets/label.h
parent8fda16c465f8ea9ad6c748d4a5a097ff360fe960 (diff)
downloadManaVerse-322aea1d69a47e8080bcd0552473a5a5d66c5e1a.tar.gz
ManaVerse-322aea1d69a47e8080bcd0552473a5a5d66c5e1a.tar.bz2
ManaVerse-322aea1d69a47e8080bcd0552473a5a5d66c5e1a.tar.xz
ManaVerse-322aea1d69a47e8080bcd0552473a5a5d66c5e1a.zip
add dynamic labels string cutting.
using it in char creation dialog.
Diffstat (limited to 'src/gui/widgets/label.h')
-rw-r--r--src/gui/widgets/label.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/label.h b/src/gui/widgets/label.h
index 31d75b6ff..42f07d1c2 100644
--- a/src/gui/widgets/label.h
+++ b/src/gui/widgets/label.h
@@ -68,6 +68,8 @@ class Label final : public gcn::Label, public Widget2
void setForegroundColorAll(const gcn::Color &color1,
const gcn::Color &color2);
+ void resizeTo(const int sz);
+
static Skin *mSkin;
static int mInstances;