From 6082507fea5070cfa7846a4bc9b0c02706fbeee7 Mon Sep 17 00:00:00 2001 From: belugas Date: Wed, 26 Jul 2006 03:33:12 +0000 Subject: (svn r5609) CodeChange : Apply coding style --- window.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'window.h') diff --git a/window.h b/window.h index 56997ad12..353e6bc12 100644 --- a/window.h +++ b/window.h @@ -249,7 +249,7 @@ typedef struct querystr_d { WindowClass wnd_class; WindowNumber wnd_num; Textbuf text; - const char* orig; + const char *orig; } querystr_d; #define WP(ptr,str) (*(str*)(ptr)->custom) @@ -301,11 +301,11 @@ struct Window { }; typedef struct { - byte item_count; /* follow_vehicle */ - byte sel_index; /* scrollpos_x */ - byte main_button; /* scrollpos_y */ + byte item_count; /* follow_vehicle */ + byte sel_index; /* scrollpos_x */ + byte main_button; /* scrollpos_y */ byte action_id; - StringID string_id; /* unk30 */ + StringID string_id; /* unk30 */ uint16 checked_items; /* unk32 */ byte disabled_items; } menu_d; @@ -556,7 +556,7 @@ enum WindowFlags { /* window.c */ void CallWindowEventNP(Window *w, int event); void CallWindowTickEvent(void); -void SetWindowDirty(const Window* w); +void SetWindowDirty(const Window *w); void SendWindowMessage(WindowClass wnd_class, WindowNumber wnd_num, uint msg, uint wparam, uint lparam); Window *FindWindowById(WindowClass cls, WindowNumber number); @@ -564,7 +564,7 @@ void DeleteWindow(Window *w); Window *BringWindowToFrontById(WindowClass cls, WindowNumber number); Window *FindWindowFromPt(int x, int y); -bool IsWindowOfPrototype(const Window* w, const Widget* widget); +bool IsWindowOfPrototype(const Window *w, const Widget *widget); void AssignWidgetToWindow(Window *w, const Widget *widget); Window *AllocateWindow( int x, @@ -586,7 +586,7 @@ void ResetWindowSystem(void); int GetMenuItemIndex(const Window *w, int x, int y); void InputLoop(void); void UpdateWindows(void); -void InvalidateWidget(const Window* w, byte widget_index); +void InvalidateWidget(const Window *w, byte widget_index); void GuiShowTooltips(StringID string_id); -- cgit v1.2.3-54-g00ecf