author | rubidium |
Sat, 12 Apr 2008 21:38:49 +0000 | |
branch | noai |
changeset 10142 | 56ee7da4ad56 |
parent 9724 | b39bc69bb2f2 |
child 10294 | 7798ae816af8 |
permissions | -rw-r--r-- |
9723 | 1 |
/* $Id$ */ |
2 |
||
9724
b39bc69bb2f2
(svn r12051) [NoAI] -Sync: with trunk (r11795:12050).
rubidium
parents:
9723
diff
changeset
|
3 |
/** @file window_func.h Window functions not directly related to making/drawing windows. */ |
9723 | 4 |
|
5 |
#ifndef WINDOW_FUNC_H |
|
6 |
#define WINDOW_FUNC_H |
|
7 |
||
8 |
#include "window_type.h" |
|
9724
b39bc69bb2f2
(svn r12051) [NoAI] -Sync: with trunk (r11795:12050).
rubidium
parents:
9723
diff
changeset
|
9 |
#include "player_type.h" |
9723 | 10 |
|
11 |
void SetWindowDirty(const Window *w); |
|
12 |
void SendWindowMessage(WindowClass wnd_class, WindowNumber wnd_num, int msg, int wparam, int lparam); |
|
13 |
void SendWindowMessageClass(WindowClass wnd_class, int msg, int wparam, int lparam); |
|
14 |
||
15 |
Window *FindWindowById(WindowClass cls, WindowNumber number); |
|
16 |
void DeleteWindow(Window *w); |
|
17 |
void ChangeWindowOwner(PlayerID old_player, PlayerID new_player); |
|
18 |
||
19 |
void ResizeWindow(Window *w, int x, int y); |
|
20 |
int PositionMainToolbar(Window *w); |
|
21 |
||
22 |
void InitWindowSystem(); |
|
23 |
void UnInitWindowSystem(); |
|
24 |
void ResetWindowSystem(); |
|
25 |
void SetupColorsAndInitialWindow(); |
|
26 |
void InputLoop(); |
|
27 |
void InvalidateThisWindowData(Window *w); |
|
28 |
void InvalidateWindowData(WindowClass cls, WindowNumber number); |
|
29 |
void RelocateAllWindows(int neww, int newh); |
|
30 |
||
31 |
void DeleteNonVitalWindows(); |
|
32 |
void DeleteAllNonVitalWindows(); |
|
33 |
void HideVitalWindows(); |
|
34 |
void ShowVitalWindows(); |
|
35 |
Window **FindWindowZPosition(const Window *w); |
|
36 |
||
37 |
void InvalidateWindow(WindowClass cls, WindowNumber number); |
|
38 |
void InvalidateWindowWidget(WindowClass cls, WindowNumber number, byte widget_index); |
|
39 |
void InvalidateWindowClasses(WindowClass cls); |
|
40 |
void InvalidateWindowClassesData(WindowClass cls); |
|
41 |
void DeleteWindowById(WindowClass cls, WindowNumber number); |
|
42 |
void DeleteWindowByClass(WindowClass cls); |
|
43 |
||
44 |
#endif /* WINDOW_FUNC_H */ |