Codechange: Replace mishmash of types for widget index with WidgetID.
Indices were stored as int, but often passed around as uint/uint8_t and casts. Now they should all use WidgetID.
This commit is contained in:

committed by
Peter Nelson

parent
fd84f73323
commit
a0dfb76e34
@@ -63,7 +63,7 @@ void ShowVitalWindows();
|
||||
*/
|
||||
void ReInitAllWindows(bool zoom_changed);
|
||||
|
||||
void SetWindowWidgetDirty(WindowClass cls, WindowNumber number, byte widget_index);
|
||||
void SetWindowWidgetDirty(WindowClass cls, WindowNumber number, WidgetID widget_index);
|
||||
void SetWindowDirty(WindowClass cls, WindowNumber number);
|
||||
void SetWindowClassesDirty(WindowClass cls);
|
||||
|
||||
|
Reference in New Issue
Block a user