diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-14 02:54:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-14 02:54:44 +0300 |
commit | 84499779fcf0c8b5392a88f1c9311775e692ebef (patch) | |
tree | f390326a50eed73d8f8c62107979a4d81093ce52 /src/gui/widgets/extendedlistbox.h | |
parent | 4ee30f47b491de0ace9b692072fd286cf12c7828 (diff) | |
download | manaverse-84499779fcf0c8b5392a88f1c9311775e692ebef.tar.gz manaverse-84499779fcf0c8b5392a88f1c9311775e692ebef.tar.bz2 manaverse-84499779fcf0c8b5392a88f1c9311775e692ebef.tar.xz manaverse-84499779fcf0c8b5392a88f1c9311775e692ebef.zip |
Improve a bit some gui controls speed.
Diffstat (limited to 'src/gui/widgets/extendedlistbox.h')
-rw-r--r-- | src/gui/widgets/extendedlistbox.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/extendedlistbox.h b/src/gui/widgets/extendedlistbox.h index 44e160da3..8d323ae68 100644 --- a/src/gui/widgets/extendedlistbox.h +++ b/src/gui/widgets/extendedlistbox.h @@ -38,7 +38,8 @@ class ExtendedListBox : public ListBox */ void draw(gcn::Graphics *graphics); - unsigned int getRowHeight() const; + unsigned int getRowHeight() const + { return mRowHeight; } void setRowHeight(unsigned int n) { mRowHeight = n; } |