summaryrefslogtreecommitdiff
path: root/src/gui/widgets/textbox.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-27 14:42:15 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-27 23:15:05 +0300
commit60add2c149c9c61bfbede5ae92cfe216927aca8a (patch)
tree9ded097faa108eb07b9ca1c8ce4490882e238a44 /src/gui/widgets/textbox.h
parent2babe1d6491f5231b0e97349ccb198b92bb90ba9 (diff)
downloadmv-60add2c149c9c61bfbede5ae92cfe216927aca8a.tar.gz
mv-60add2c149c9c61bfbede5ae92cfe216927aca8a.tar.bz2
mv-60add2c149c9c61bfbede5ae92cfe216927aca8a.tar.xz
mv-60add2c149c9c61bfbede5ae92cfe216927aca8a.zip
Improve a bit draw speed in other controls.
Diffstat (limited to 'src/gui/widgets/textbox.h')
-rw-r--r--src/gui/widgets/textbox.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/textbox.h b/src/gui/widgets/textbox.h
index 51402fad7..5271f742e 100644
--- a/src/gui/widgets/textbox.h
+++ b/src/gui/widgets/textbox.h
@@ -60,6 +60,8 @@ class TextBox final : public gcn::TextBox,
void keyPressed(gcn::KeyEvent& keyEvent) override;
+ void draw(gcn::Graphics* graphics);
+
private:
int mMinWidth;
};