diff options
author | rubidium <rubidium@openttd.org> | 2008-04-09 23:00:12 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-04-09 23:00:12 +0000 |
commit | 2ac6af4e48744ee42abff16b2b716a9eeeef36cf (patch) | |
tree | 31e91bb295634439e2d248e142cae0410d992fe4 /src/widgets/dropdown_type.h | |
parent | c9e9e6005bed8e6143fdc571cfebdc993d334dbd (diff) | |
download | openttd-2ac6af4e48744ee42abff16b2b716a9eeeef36cf.tar.xz |
(svn r12644) -Codechange: rework the order gui a little to prepare it for some future changes.
Diffstat (limited to 'src/widgets/dropdown_type.h')
-rw-r--r-- | src/widgets/dropdown_type.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/widgets/dropdown_type.h b/src/widgets/dropdown_type.h index 419c6fbc2..29a40962c 100644 --- a/src/widgets/dropdown_type.h +++ b/src/widgets/dropdown_type.h @@ -60,7 +60,8 @@ typedef std::list<DropDownListItem *> DropDownList; * @param selected The initially selected list item. * @param button The widget within the parent window that is used to determine * the list's location. + * @param width Override the width determined by the selected widget. */ -void ShowDropDownList(Window *w, DropDownList *list, int selected, int button); +void ShowDropDownList(Window *w, DropDownList *list, int selected, int button, uint width = 0); #endif /* WIDGETS_DROPDOWN_TYPE_H */ |