diff options
author | tron <tron@openttd.org> | 2005-12-24 15:01:17 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-12-24 15:01:17 +0000 |
commit | f2db7e72454b7e36aad3e094804966e4a20e839d (patch) | |
tree | f0efaf93c42b83b79f0fe76a8914e14f03177f68 /window.c | |
parent | 955f06b9acf624b6d964ba3b54e8f1af5b3a4b73 (diff) | |
download | openttd-f2db7e72454b7e36aad3e094804966e4a20e839d.tar.xz |
(svn r3336) byte -> WindowClass, uint16 -> WindowNumber
Diffstat (limited to 'window.c')
-rw-r--r-- | window.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; |