equal
deleted
inserted
replaced
4 |
4 |
5 #ifndef WINDOW_FUNC_H |
5 #ifndef WINDOW_FUNC_H |
6 #define WINDOW_FUNC_H |
6 #define WINDOW_FUNC_H |
7 |
7 |
8 #include "window_type.h" |
8 #include "window_type.h" |
|
9 #include "player_type.h" |
9 |
10 |
10 /** |
11 /** |
11 * Marks the window as dirty for repaint. |
12 * Marks the window as dirty for repaint. |
12 * |
13 * |
13 * @ingroup dirty |
14 * @ingroup dirty |
16 void SendWindowMessage(WindowClass wnd_class, WindowNumber wnd_num, int msg, int wparam, int lparam); |
17 void SendWindowMessage(WindowClass wnd_class, WindowNumber wnd_num, int msg, int wparam, int lparam); |
17 void SendWindowMessageClass(WindowClass wnd_class, int msg, int wparam, int lparam); |
18 void SendWindowMessageClass(WindowClass wnd_class, int msg, int wparam, int lparam); |
18 |
19 |
19 Window *FindWindowById(WindowClass cls, WindowNumber number); |
20 Window *FindWindowById(WindowClass cls, WindowNumber number); |
20 void DeleteWindow(Window *w); |
21 void DeleteWindow(Window *w); |
21 void DeletePlayerWindows(PlayerID pi); |
|
22 void ChangeWindowOwner(PlayerID old_player, PlayerID new_player); |
22 void ChangeWindowOwner(PlayerID old_player, PlayerID new_player); |
23 |
23 |
24 void ResizeWindow(Window *w, int x, int y); |
24 void ResizeWindow(Window *w, int x, int y); |
25 int PositionMainToolbar(Window *w); |
25 int PositionMainToolbar(Window *w); |
26 |
26 |