diff options
author | frosch <frosch@openttd.org> | 2012-06-01 14:41:47 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-06-01 14:41:47 +0000 |
commit | b71b4015a2ca4bdda71ffa1c0f8400afb660142a (patch) | |
tree | 405f6df59d001bf2f0b02a7f48bfd37a00e8c201 /src/settings_gui.h | |
parent | 056f779334baf1857686453a8b382daf079311de (diff) | |
download | openttd-b71b4015a2ca4bdda71ffa1c0f8400afb660142a.tar.xz |
(svn r24311) -Add: DrawDropDownButton() to draw dropdown buttons independent of actual widgets.
Diffstat (limited to 'src/settings_gui.h')
-rw-r--r-- | src/settings_gui.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/settings_gui.h b/src/settings_gui.h index 5d6cfe8a9..2ca418b11 100644 --- a/src/settings_gui.h +++ b/src/settings_gui.h @@ -18,6 +18,7 @@ static const int SETTING_BUTTON_WIDTH = 20; ///< Width of setting buttons static const int SETTING_BUTTON_HEIGHT = 10; ///< Height of setting buttons void DrawArrowButtons(int x, int y, Colours button_colour, byte state, bool clickable_left, bool clickable_right); +void DrawDropDownButton(int x, int y, Colours button_colour, bool state, bool clickable); void DrawBoolButton(int x, int y, bool state, bool clickable); #endif /* SETTING_GUI_H */ |