diff options
author | belugas <belugas@openttd.org> | 2006-07-26 03:33:12 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2006-07-26 03:33:12 +0000 |
commit | 6082507fea5070cfa7846a4bc9b0c02706fbeee7 (patch) | |
tree | 49db495ba0ae909a8a9645176b5b5b72483be02f /window.h | |
parent | fd0305197ef5e50554ae06dd8e3ddd8238cbeca1 (diff) | |
download | openttd-6082507fea5070cfa7846a4bc9b0c02706fbeee7.tar.xz |
(svn r5609) CodeChange : Apply coding style
Diffstat (limited to 'window.h')
-rw-r--r-- | window.h | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -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); |