equal
deleted
inserted
replaced
70 * @param button The widget within the parent window that is used to determine |
70 * @param button The widget within the parent window that is used to determine |
71 * the list's location. |
71 * the list's location. |
72 * @param width Override the width determined by the selected widget. |
72 * @param width Override the width determined by the selected widget. |
73 * If UINT_MAX then the width is determined by the widest item |
73 * If UINT_MAX then the width is determined by the widest item |
74 * in the list. |
74 * in the list. |
|
75 * @param instant_close Set to true if releasing mouse button should close the |
|
76 * list regardless of where the cursor is. |
75 */ |
77 */ |
76 void ShowDropDownList(Window *w, DropDownList *list, int selected, int button, uint width = 0); |
78 void ShowDropDownList(Window *w, DropDownList *list, int selected, int button, uint width = 0, bool instant_close = false); |
77 |
79 |
78 #endif /* WIDGETS_DROPDOWN_TYPE_H */ |
80 #endif /* WIDGETS_DROPDOWN_TYPE_H */ |