diff options
author | peter1138 <peter1138@openttd.org> | 2008-04-12 20:32:18 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2008-04-12 20:32:18 +0000 |
commit | 711909fa0cd3733cbfb7aee9bd32bc445eec1027 (patch) | |
tree | 044af85ef8ceff9542cb1a13eea850d91fd137d9 /src/widgets/dropdown_type.h | |
parent | f44aa5e088eb1fbd03f1f9347e0af722751afe38 (diff) | |
download | openttd-711909fa0cd3733cbfb7aee9bd32bc445eec1027.tar.xz |
(svn r12672) -Codechange: Add support for variably-sized drop down list items.
Diffstat (limited to 'src/widgets/dropdown_type.h')
-rw-r--r-- | src/widgets/dropdown_type.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/widgets/dropdown_type.h b/src/widgets/dropdown_type.h index 29a40962c..859b331d2 100644 --- a/src/widgets/dropdown_type.h +++ b/src/widgets/dropdown_type.h @@ -18,6 +18,7 @@ public: DropDownListItem(int result, bool masked) : result(result), masked(masked) {} virtual ~DropDownListItem() {} virtual StringID String() const; + virtual uint Height(uint width) const; }; /** |