Files @ r8284:d769847bf11d
Branch filter:

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

peter1138
(svn r11848) -Codechange: New class-based drop down list functionality. Lists are now dynamically generated, and can include parameters, or be extended however needed.
/* $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);

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

#endif /* WIDGETS_DROPDOWN_FUNC_H */