diff options
author | rubidium <rubidium@openttd.org> | 2008-04-19 13:28:48 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-04-19 13:28:48 +0000 |
commit | 752c8d8f2e966bd9102c1e73b9af99aa58b053b4 (patch) | |
tree | 1335dbfefd8d6660d08423960108556156cc3359 /src/window_gui.h | |
parent | 24b5c910398a06f4bacb54338399fc3b413cdee7 (diff) | |
download | openttd-752c8d8f2e966bd9102c1e73b9af99aa58b053b4.tar.xz |
(svn r12790) -Codechange: code style fixes. Patch by Alberth.
Diffstat (limited to 'src/window_gui.h')
-rw-r--r-- | src/window_gui.h | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/src/window_gui.h b/src/window_gui.h index 8fcfa0ce8..d4bfcc8b4 100644 --- a/src/window_gui.h +++ b/src/window_gui.h @@ -549,15 +549,9 @@ Window *FindWindowFromPt(int x, int y); bool IsWindowOfPrototype(const Window *w, const Widget *widget); void AssignWidgetToWindow(Window *w, const Widget *widget); -Window *AllocateWindow( - int x, - int y, - int width, - int height, - WindowProc *proc, - WindowClass cls, - const Widget *widget, - void *data = NULL); +Window *AllocateWindow(int x, int y, int width, int height, + WindowProc *proc, WindowClass cls, const Widget *widget, + void *data = NULL); Window *AllocateWindowDesc(const WindowDesc *desc, void *data = NULL); Window *AllocateWindowDescFront(const WindowDesc *desc, int window_number, void *data = NULL); @@ -594,12 +588,6 @@ enum SortButtonState { void DrawSortButtonState(const Window *w, int widget, SortButtonState state); -Window *GetCallbackWnd(); -void DeleteNonVitalWindows(); -void DeleteAllNonVitalWindows(); -void HideVitalWindows(); -void ShowVitalWindows(); -Window **FindWindowZPosition(const Window *w); /* window.cpp */ extern Window *_z_windows[]; @@ -624,6 +612,13 @@ enum SpecialMouseMode { WSM_PRESIZE = 3, }; +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); void ResizeButtons(Window *w, byte left, byte right); |