(svn r11848) -Codechange: New class-based drop down list functionality. Lists are now dynamically generated, and can include parameters, or be extended however needed.

This commit is contained in:
peter1138
2008-01-14 16:10:58 +00:00
parent c6de18c3db
commit 1fa2285327
17 changed files with 379 additions and 252 deletions

View File

@@ -0,0 +1,12 @@
/* $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 */