29 */ |
29 */ |
30 |
30 |
31 #pragma once |
31 #pragma once |
32 #include "main.h" |
32 #include "main.h" |
33 BEGIN_ZFC_NAMESPACE |
33 BEGIN_ZFC_NAMESPACE |
|
34 |
|
35 // The order of these colors appears to differ between curses distributions (PDCurses and its |
|
36 // win32a for instance have blue and red swapped). So we need to explicitly define the values |
|
37 // of the enumerators based on their curses values. |
|
38 enum Color |
|
39 { |
|
40 BLACK = COLOR_BLACK, |
|
41 RED = COLOR_RED, |
|
42 GREEN = COLOR_GREEN, |
|
43 YELLOW = COLOR_YELLOW, |
|
44 BLUE = COLOR_BLUE, |
|
45 MAGENTA = COLOR_MAGENTA, |
|
46 CYAN = COLOR_CYAN, |
|
47 WHITE = COLOR_WHITE, |
|
48 DEFAULT = 8, |
|
49 NUM_COLORS |
|
50 }; |
34 |
51 |
35 // ------------------------------------------------------------------------------------------------- |
52 // ------------------------------------------------------------------------------------------------- |
36 // |
53 // |
37 enum |
54 enum |
38 { |
55 { |