diff options
author | frosch <frosch@openttd.org> | 2011-03-13 21:32:13 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2011-03-13 21:32:13 +0000 |
commit | 51ddbbb13d3c6277dcd04289623efe6e00e4f1b3 (patch) | |
tree | c540d777fce11f28bb4aa4fbb4411800d730a755 /src/window_func.h | |
parent | ec9540a12a9170f8b88e1d715c9321edaeeebfd4 (diff) | |
download | openttd-51ddbbb13d3c6277dcd04289623efe6e00e4f1b3.tar.xz |
(svn r22242) -Codechange: Let OnInvalidateData() decide itself what to do immediately in command scope, and what to do asynchronously in GUI-scope.
Diffstat (limited to 'src/window_func.h')
-rw-r--r-- | src/window_func.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window_func.h b/src/window_func.h index 43f50111d..604cb1d98 100644 --- a/src/window_func.h +++ b/src/window_func.h @@ -34,8 +34,8 @@ void ResetWindowSystem(); void SetupColoursAndInitialWindow(); void InputLoop(); -void InvalidateWindowData(WindowClass cls, WindowNumber number, int data = 0, bool immediately = false); -void InvalidateWindowClassesData(WindowClass cls, int data = 0, bool immediately = false); +void InvalidateWindowData(WindowClass cls, WindowNumber number, int data = 0, bool gui_scope = false); +void InvalidateWindowClassesData(WindowClass cls, int data = 0, bool gui_scope = false); void DeleteNonVitalWindows(); void DeleteAllNonVitalWindows(); |