Files @ r11081:725ce4237987
Branch filter:

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

rubidium
(svn r15424) -Codechange: make it possible to have multiple windows with edit box open simultaniously (Zuu).
/* $Id$ */

/** @file dropdown_func.h Functions related to the drop down widget. */

#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 */
int HideDropDownMenu(Window *pw);

#endif /* WIDGETS_DROPDOWN_FUNC_H */