ScummVM API documentation
textcolor.h
1 /* ScummVM - Graphic Adventure Engine
2  *
3  * ScummVM is the legal property of its developers, whose names
4  * are too numerous to list here. Please refer to the COPYRIGHT
5  * file distributed with this source distribution.
6  *
7  * This program is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program. If not, see <http://www.gnu.org/licenses/>.
19  *
20  */
21 
22 #ifndef ULTIMA4_GFX_TEXTCOLOR_H
23 #define ULTIMA4_GFX_TEXTCOLOR_H
24 
25 namespace Ultima {
26 namespace Ultima4 {
27 
28 #define TEXT_BG_INDEX 0
29 #define TEXT_FG_PRIMARY_INDEX 15
30 #define TEXT_FG_SECONDARY_INDEX 7
31 #define TEXT_FG_SHADOW_INDEX 80
32 
33 
34 //
35 // text foreground colors
36 //
37 enum ColorFG {
38  FG_GREY = '\023',
39  FG_BLUE = '\024',
40  FG_PURPLE = '\025',
41  FG_GREEN = '\026',
42  FG_RED = '\027',
43  FG_YELLOW = '\030',
44  FG_WHITE = '\031'
45 };
46 
47 //
48 // text background colors
49 //
50 enum ColorBG {
51  BG_NORMAL = '\032',
52  BG_BRIGHT = '\033'
53 };
54 
55 } // End of namespace Ultima4
56 } // End of namespace Ultima
57 
58 #endif
Definition: detection.h:27