diff options
author | rubidium <rubidium@openttd.org> | 2008-05-10 12:30:27 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-05-10 12:30:27 +0000 |
commit | 935434333badb8376f9dde535ddc50c18e9af3aa (patch) | |
tree | a5bdbc9159ef2a9e4438fbff08ec11d3adba7744 /src/window_func.h | |
parent | f23026cce8fa49974e3dd06e00dd073cb45f906b (diff) | |
download | openttd-935434333badb8376f9dde535ddc50c18e9af3aa.tar.xz |
(svn r13028) -Codechange: WE_MESSAGE and WE_INVALIDATE_DATA were doing the same thing.
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); |