src/widgets/dropdown_func.h
changeset 8877 f09f03b0dc64
parent 8284 ebdc5ba08874
child 9111 48ce04029fe4
equal deleted inserted replaced
8876:e5bf23efad87 8877:f09f03b0dc64
     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 */