Mercurial > hg > openttd
annotate src/statusbar_gui.h @ 14396:4de60292e2a6 draft
(svn r18953) -Feature: [NoAI] allow editing AI settings while an AI is running
Only settings with the AICONFIG_INGAME flag can be editted in this way
author | yexo <yexo@openttd.org> |
---|---|
date | Fri, 29 Jan 2010 21:38:55 +0000 |
parents | bc7926153e19 |
children | 4c4c9177f5eb |
rev | line source |
---|---|
9248
2588c85f3a5a
(svn r13114) -Codechange: use InvalidateData instead of direct window access to modify the state of the statusbar from outside the statusbar.
rubidium <rubidium@openttd.org>
parents:
diff
changeset
|
1 /* $Id$ */ |
2588c85f3a5a
(svn r13114) -Codechange: use InvalidateData instead of direct window access to modify the state of the statusbar from outside the statusbar.
rubidium <rubidium@openttd.org>
parents:
diff
changeset
|
2 |
12778
bc7926153e19
(svn r17248) -Fix: add GPL license notice where appropriate
rubidium <rubidium@openttd.org>
parents:
10646
diff
changeset
|
3 /* |
bc7926153e19
(svn r17248) -Fix: add GPL license notice where appropriate
rubidium <rubidium@openttd.org>
parents:
10646
diff
changeset
|
4 * This file is part of OpenTTD. |
bc7926153e19
(svn r17248) -Fix: add GPL license notice where appropriate
rubidium <rubidium@openttd.org>
parents:
10646
diff
changeset
|
5 * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2. |
bc7926153e19
(svn r17248) -Fix: add GPL license notice where appropriate
rubidium <rubidium@openttd.org>
parents:
10646
diff
changeset
|
6 * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
bc7926153e19
(svn r17248) -Fix: add GPL license notice where appropriate
rubidium <rubidium@openttd.org>
parents:
10646
diff
changeset
|
7 * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>. |
bc7926153e19
(svn r17248) -Fix: add GPL license notice where appropriate
rubidium <rubidium@openttd.org>
parents:
10646
diff
changeset
|
8 */ |
bc7926153e19
(svn r17248) -Fix: add GPL license notice where appropriate
rubidium <rubidium@openttd.org>
parents:
10646
diff
changeset
|
9 |
9248
2588c85f3a5a
(svn r13114) -Codechange: use InvalidateData instead of direct window access to modify the state of the statusbar from outside the statusbar.
rubidium <rubidium@openttd.org>
parents:
diff
changeset
|
10 /** @file statusbar_gui.h Functions, definitions and such used only by the GUI. */ |
2588c85f3a5a
(svn r13114) -Codechange: use InvalidateData instead of direct window access to modify the state of the statusbar from outside the statusbar.
rubidium <rubidium@openttd.org>
parents:
diff
changeset
|
11 |
2588c85f3a5a
(svn r13114) -Codechange: use InvalidateData instead of direct window access to modify the state of the statusbar from outside the statusbar.
rubidium <rubidium@openttd.org>
parents:
diff
changeset
|
12 #ifndef STATUSBAR_GUI_H |
2588c85f3a5a
(svn r13114) -Codechange: use InvalidateData instead of direct window access to modify the state of the statusbar from outside the statusbar.
rubidium <rubidium@openttd.org>
parents:
diff
changeset
|
13 #define STATUSBAR_GUI_H |
2588c85f3a5a
(svn r13114) -Codechange: use InvalidateData instead of direct window access to modify the state of the statusbar from outside the statusbar.
rubidium <rubidium@openttd.org>
parents:
diff
changeset
|
14 |
10646
2266039627dd
(svn r14948) -Codechange: enumification and more comments in the statusbar code
smatz <smatz@openttd.org>
parents:
10640
diff
changeset
|
15 enum StatusBarInvalidate { |
2266039627dd
(svn r14948) -Codechange: enumification and more comments in the statusbar code
smatz <smatz@openttd.org>
parents:
10640
diff
changeset
|
16 SBI_SAVELOAD_START, ///< started saving |
2266039627dd
(svn r14948) -Codechange: enumification and more comments in the statusbar code
smatz <smatz@openttd.org>
parents:
10640
diff
changeset
|
17 SBI_SAVELOAD_FINISH, ///< finished saving |
2266039627dd
(svn r14948) -Codechange: enumification and more comments in the statusbar code
smatz <smatz@openttd.org>
parents:
10640
diff
changeset
|
18 SBI_SHOW_TICKER, ///< start scolling news |
2266039627dd
(svn r14948) -Codechange: enumification and more comments in the statusbar code
smatz <smatz@openttd.org>
parents:
10640
diff
changeset
|
19 SBI_SHOW_REMINDER, ///< show a reminder (dot on the right side of the statusbar) |
2266039627dd
(svn r14948) -Codechange: enumification and more comments in the statusbar code
smatz <smatz@openttd.org>
parents:
10640
diff
changeset
|
20 SBI_NEWS_DELETED, ///< abort current news display (active news were deleted) |
9248
2588c85f3a5a
(svn r13114) -Codechange: use InvalidateData instead of direct window access to modify the state of the statusbar from outside the statusbar.
rubidium <rubidium@openttd.org>
parents:
diff
changeset
|
21 SBI_END |
2588c85f3a5a
(svn r13114) -Codechange: use InvalidateData instead of direct window access to modify the state of the statusbar from outside the statusbar.
rubidium <rubidium@openttd.org>
parents:
diff
changeset
|
22 }; |
2588c85f3a5a
(svn r13114) -Codechange: use InvalidateData instead of direct window access to modify the state of the statusbar from outside the statusbar.
rubidium <rubidium@openttd.org>
parents:
diff
changeset
|
23 |
2588c85f3a5a
(svn r13114) -Codechange: use InvalidateData instead of direct window access to modify the state of the statusbar from outside the statusbar.
rubidium <rubidium@openttd.org>
parents:
diff
changeset
|
24 bool IsNewsTickerShown(); |
2588c85f3a5a
(svn r13114) -Codechange: use InvalidateData instead of direct window access to modify the state of the statusbar from outside the statusbar.
rubidium <rubidium@openttd.org>
parents:
diff
changeset
|
25 void ShowStatusBar(); |
2588c85f3a5a
(svn r13114) -Codechange: use InvalidateData instead of direct window access to modify the state of the statusbar from outside the statusbar.
rubidium <rubidium@openttd.org>
parents:
diff
changeset
|
26 |
2588c85f3a5a
(svn r13114) -Codechange: use InvalidateData instead of direct window access to modify the state of the statusbar from outside the statusbar.
rubidium <rubidium@openttd.org>
parents:
diff
changeset
|
27 #endif /* STATUSBAR_GUI_H */ |