diff options
author | peter1138 <peter1138@openttd.org> | 2008-04-12 22:12:27 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2008-04-12 22:12:27 +0000 |
commit | 447a31b7027245fc416e6186c7a30ebbcacb00df (patch) | |
tree | 0109cdbf06c952b8c6219fa3e180b65741dc1a8e /src/widgets/dropdown_type.h | |
parent | a45c1d45e5b56f0e2f18d03abaa4bd675f9ba55f (diff) | |
download | openttd-447a31b7027245fc416e6186c7a30ebbcacb00df.tar.xz |
(svn r12675) -Codechange: Add support for custom drawing of 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 859b331d2..a93cbb360 100644 --- a/src/widgets/dropdown_type.h +++ b/src/widgets/dropdown_type.h @@ -19,6 +19,7 @@ public: virtual ~DropDownListItem() {} virtual StringID String() const; virtual uint Height(uint width) const; + virtual void Draw(int x, int y, uint width, uint height, bool sel) const; }; /** |