forked from mirror/OpenTTD
(svn r2974) -Fix: Drag and drop selection on drop down boxes didn't select correct item when some items were hidden.
-Separate disabled and hidden masks in drop downs to support both hidden and disabled items.
This commit is contained in:
2
window.h
2
window.h
@@ -617,7 +617,7 @@ int PositionMainToolbar(Window *w);
|
||||
/* widget.c */
|
||||
int GetWidgetFromPos(const Window *w, int x, int y);
|
||||
void DrawWindowWidgets(const Window *w);
|
||||
void ShowDropDownMenu(Window *w, const StringID *strings, int selected, int button, uint32 disabled_mask, bool remove_filtered_strings);
|
||||
void ShowDropDownMenu(Window *w, const StringID *strings, int selected, int button, uint32 disabled_mask, uint32 hidden_mask);
|
||||
|
||||
void HandleButtonClick(Window *w, byte widget);
|
||||
|
||||
|
Reference in New Issue
Block a user