summaryrefslogtreecommitdiff
path: root/src/widgets/dropdown_func.h
blob: bd4e93a675f1c6455a8866fe1633801d15628a74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* $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 */