diff options
Diffstat (limited to 'src/window_func.h')
-rw-r--r-- | src/window_func.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/window_func.h b/src/window_func.h index 54a7856d8..0f396f3d2 100644 --- a/src/window_func.h +++ b/src/window_func.h @@ -9,8 +9,6 @@ #include "player_type.h" void SetWindowDirty(const Window *w); -void SendWindowMessage(WindowClass wnd_class, WindowNumber wnd_num, int msg, int wparam, int lparam); -void SendWindowMessageClass(WindowClass wnd_class, int msg, int wparam, int lparam); Window *FindWindowById(WindowClass cls, WindowNumber number); void ChangeWindowOwner(PlayerID old_player, PlayerID new_player); @@ -23,18 +21,20 @@ void UnInitWindowSystem(); void ResetWindowSystem(); void SetupColorsAndInitialWindow(); void InputLoop(); -void InvalidateThisWindowData(Window *w); -void InvalidateWindowData(WindowClass cls, WindowNumber number); + +void InvalidateThisWindowData(Window *w, int data = 0); +void InvalidateWindowData(WindowClass cls, WindowNumber number, int data = 0); +void InvalidateWindowClassesData(WindowClass cls, int data = 0); void DeleteNonVitalWindows(); void DeleteAllNonVitalWindows(); void HideVitalWindows(); void ShowVitalWindows(); -void InvalidateWindow(WindowClass cls, WindowNumber number); void InvalidateWindowWidget(WindowClass cls, WindowNumber number, byte widget_index); +void InvalidateWindow(WindowClass cls, WindowNumber number); void InvalidateWindowClasses(WindowClass cls); -void InvalidateWindowClassesData(WindowClass cls); + void DeleteWindowById(WindowClass cls, WindowNumber number); void DeleteWindowByClass(WindowClass cls); |