equal
deleted
inserted
replaced
2 |
2 |
3 #ifndef WIDGETS_DROPDOWN_FUNC_H |
3 #ifndef WIDGETS_DROPDOWN_FUNC_H |
4 #define WIDGETS_DROPDOWN_FUNC_H |
4 #define WIDGETS_DROPDOWN_FUNC_H |
5 |
5 |
6 /* Show drop down menu containing a fixed list of strings */ |
6 /* Show drop down menu containing a fixed list of strings */ |
7 void ShowDropDownMenu(Window *w, const StringID *strings, int selected, int button, uint32 disabled_mask, uint32 hidden_mask); |
7 void ShowDropDownMenu(Window *w, const StringID *strings, int selected, int button, uint32 disabled_mask, uint32 hidden_mask, uint width = 0); |
8 |
8 |
9 /* Hide drop down menu of a parent window */ |
9 /* Hide drop down menu of a parent window */ |
10 void HideDropDownMenu(Window *pw); |
10 void HideDropDownMenu(Window *pw); |
11 |
11 |
12 #endif /* WIDGETS_DROPDOWN_FUNC_H */ |
12 #endif /* WIDGETS_DROPDOWN_FUNC_H */ |