Files @ r8884:0f3a789fa3d6
Branch filter:

Location: cpp/openttd-patchpack/source/src/widgets/dropdown_func.h

peter1138
(svn r12651) -Fix (r12644) [FS#1915]: Dropdown widget width should be one pixel less than window width, not one more.
/* $Id$ */

#ifndef WIDGETS_DROPDOWN_FUNC_H
#define WIDGETS_DROPDOWN_FUNC_H

/* Show drop down menu containing a fixed list of strings */
void ShowDropDownMenu(Window *w, const StringID *strings, int selected, int button, uint32 disabled_mask, uint32 hidden_mask, uint width = 0);

/* Hide drop down menu of a parent window */
void HideDropDownMenu(Window *pw);

#endif /* WIDGETS_DROPDOWN_FUNC_H */