summaryrefslogtreecommitdiff
path: root/src/widgets/dropdown_type.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2008-04-12 20:32:18 +0000
committerpeter1138 <peter1138@openttd.org>2008-04-12 20:32:18 +0000
commit711909fa0cd3733cbfb7aee9bd32bc445eec1027 (patch)
tree044af85ef8ceff9542cb1a13eea850d91fd137d9 /src/widgets/dropdown_type.h
parentf44aa5e088eb1fbd03f1f9347e0af722751afe38 (diff)
downloadopenttd-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.h1
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;
};
/**