diff options
author | rubidium <rubidium@openttd.org> | 2008-05-06 22:17:12 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-05-06 22:17:12 +0000 |
commit | c27f3cfa6239ff98f3b8dfe9a20b1177707a530f (patch) | |
tree | 5c909dbb0966fd6895c3a51a9493a9dea189c0c9 /src/window_gui.h | |
parent | 9db77e3808139fe3364345aa7bf09a5e41198e4c (diff) | |
download | openttd-c27f3cfa6239ff98f3b8dfe9a20b1177707a530f.tar.xz |
(svn r12977) -Codechange: remove quite some redundant (duplicate) function declarations.
Diffstat (limited to 'src/window_gui.h')
-rw-r--r-- | src/window_gui.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/window_gui.h b/src/window_gui.h index ae6edabec..a608957ee 100644 --- a/src/window_gui.h +++ b/src/window_gui.h @@ -546,13 +546,6 @@ enum WindowFlags { void CallWindowEventNP(Window *w, int event); void CallWindowTickEvent(); -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 DeletePlayerWindows(PlayerID pi); -void ChangeWindowOwner(PlayerID old_player, PlayerID new_player); Window *BringWindowToFrontById(WindowClass cls, WindowNumber number); Window *FindWindowFromPt(int x, int y); @@ -566,15 +559,8 @@ Window *AllocateWindowDesc(const WindowDesc *desc, void *data = NULL); Window *AllocateWindowDescFront(const WindowDesc *desc, int window_number, void *data = NULL); void DrawWindowViewport(const Window *w); -void ResizeWindow(Window *w, int x, int y); -void InitWindowSystem(); -void UnInitWindowSystem(); -void ResetWindowSystem(); int GetMenuItemIndex(const Window *w, int x, int y); -void InputLoop(); -void InvalidateThisWindowData(Window *w); -void InvalidateWindowData(WindowClass cls, WindowNumber number); void RelocateAllWindows(int neww, int newh); /* misc_gui.cpp */ @@ -622,10 +608,6 @@ enum SpecialMouseMode { }; Window *GetCallbackWnd(); -void DeleteNonVitalWindows(); -void DeleteAllNonVitalWindows(); -void HideVitalWindows(); -void ShowVitalWindows(); Window **FindWindowZPosition(const Window *w); void ScrollbarClickHandler(Window *w, const Widget *wi, int x, int y); |