diff options
author | frosch <frosch@openttd.org> | 2013-10-13 19:18:30 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2013-10-13 19:18:30 +0000 |
commit | 12ddbb7cb11ddeba47a6bed8d36bef6432aa3236 (patch) | |
tree | ec386d7d837736fbff2d859be90eb5686b4a5e46 /src/widget_type.h | |
parent | d9717c0b017a9783bab4793ac367a8a5d12bef5d (diff) | |
download | openttd-12ddbb7cb11ddeba47a6bed8d36bef6432aa3236.tar.xz |
(svn r25864) -Fix: Use the actual sprite dimensions for sizing the dropdown arrow of dropdown widgets.
Diffstat (limited to 'src/widget_type.h')
-rw-r--r-- | src/widget_type.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/widget_type.h b/src/widget_type.h index 60980f28c..6d8b32bc9 100644 --- a/src/widget_type.h +++ b/src/widget_type.h @@ -777,6 +777,8 @@ public: bool ButtonHit(const Point &pt); static void InvalidateDimensionCache(); + + static Dimension dropdown_dimension; ///< Cached size of a dropdown widget. private: static Dimension shadebox_dimension; ///< Cached size of a shadebox widget. static Dimension debugbox_dimension; ///< Cached size of a debugbox widget. |