summaryrefslogtreecommitdiff
path: root/window.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-12-24 15:01:17 +0000
committertron <tron@openttd.org>2005-12-24 15:01:17 +0000
commitf2db7e72454b7e36aad3e094804966e4a20e839d (patch)
treef0efaf93c42b83b79f0fe76a8914e14f03177f68 /window.c
parent955f06b9acf624b6d964ba3b54e8f1af5b3a4b73 (diff)
downloadopenttd-f2db7e72454b7e36aad3e094804966e4a20e839d.tar.xz
(svn r3336) byte -> WindowClass, uint16 -> WindowNumber
Diffstat (limited to 'window.c')
-rw-r--r--window.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/window.c b/window.c
index 3398081a8..f87af6fe3 100644
--- a/window.c
+++ b/window.c
@@ -1553,7 +1553,7 @@ int GetMenuItemIndex(const Window *w, int x, int y)
return -1;
}
-void InvalidateWindow(byte cls, WindowNumber number)
+void InvalidateWindow(WindowClass cls, WindowNumber number)
{
const Window* w;
@@ -1572,7 +1572,7 @@ void InvalidateWidget(const Window* w, byte widget_index)
SetDirtyBlocks(w->left + wi->left, w->top + wi->top, w->left + wi->right + 1, w->top + wi->bottom + 1);
}
-void InvalidateWindowWidget(byte cls, WindowNumber number, byte widget_index)
+void InvalidateWindowWidget(WindowClass cls, WindowNumber number, byte widget_index)
{
const Window* w;
@@ -1583,7 +1583,7 @@ void InvalidateWindowWidget(byte cls, WindowNumber number, byte widget_index)
}
}
-void InvalidateWindowClasses(byte cls)
+void InvalidateWindowClasses(WindowClass cls)
{
const Window* w;