2 contains color/monchrome schemes for tty-mines.
7 #define SGR(color, string) "\033[" color "m" string "\033[0m"
34 char* mouse_highlight
;
40 char* emoticons
[NUM_EMOT
];
46 char* border_status_l
;
47 //TODO: better define status line
48 char* border_status_r
;
50 char* border_spacer_l
;
51 char* border_spacer_m
;
52 char* border_spacer_r
;
57 char* border_bottom_l
;
58 char* border_bottom_m
;
59 char* border_bottom_r
;
67 struct minescheme symbols_mono
= {
68 .number
= {" ", "1", "2", "3", "4", "5", "6", "7", "8"},
70 .field_flagged
= SGR(REV
,"!"),
71 .field_question
= SGR(REV
,"?"),
72 .mouse_highlight
= "▓▓",
78 .emoticons
= {":)", ":(", ":D", ":o"},
84 .border_status_l
= "║ ",
85 .border_status_r
= " ║",
87 .border_spacer_l
= "╟─",
88 .border_spacer_m
= "──",
89 .border_spacer_r
= "─╢",
91 .border_field_l
= "║ ",
92 .border_field_r
= " ║",
94 .border_bottom_l
= "╚═",
95 .border_bottom_m
= "═",
96 .border_bottom_r
= "═╝",
99 .flag_offset
= 4, /* length of the escape sequece infront of .field_flagged and .field_question for cursor highlighting */
102 struct minescheme symbols_col1
= {
112 .field_closed
= "░░",
113 .field_flagged
= CGR(GREY
,"▕")CGR(xxx
,BRED
,"▀"),
114 .field_question
= "?",
115 .mouse_highlight
= "▓▓",
117 .mine_death
= SGR(RED
,"*"),
121 .emoticons
= {":)", ":(", ":D", ":o"},
123 .border_top_l
= "╔═",
124 .border_top_m
= "══",
125 .border_top_r
= "═╗",
127 .border_status_l
= "║ ",
128 .border_status_r
= " ║",
130 .border_spacer_l
= "╟─",
131 .border_spacer_m
= "──",
132 .border_spacer_r
= "─╢",
134 .border_field_l
= "║ ",
135 .border_field_r
= " ║",
137 .border_bottom_l
= "╚═",
138 .border_bottom_m
= "═",
139 .border_bottom_r
= "═╝",
144 struct minescheme symbols_doublewidth
= {
145 /* vt220 multilingual character set,
146 see http://vt100.net/docs/vt220-rm/table2-4.html */
156 .field_closed
= "\x61",
157 .field_flagged
= SGR(BOLD
,"!"),
158 .field_question
= SGR(BOLD
,"?"),
159 .mouse_highlight
= SGR(BLINK
,"@"),
160 .mine_normal
= SGR(BOLD
,"*"),
161 .mine_death
= SGR(BOLD
,"#"),
162 .mine_wrongf
= SGR(BOLD
,"/"),
163 .mine_wrongq
= SGR(BOLD
,"\\"),
165 .emoticons
= {":)", ":(", ":D", ":o"},
167 .border_top_l
= "\033#6\x6c",
168 .border_top_m
= "\x71",
169 .border_top_r
= "\x6b",
171 .border_status_l
= "\033#6\x78",
172 .border_status_r
= "\x78",
174 .border_spacer_l
= "\033#6\x74",
175 .border_spacer_m
= "\x71",
176 .border_spacer_r
= "\x75",
178 .border_field_l
= "\033#6\x78",
179 .border_field_r
= "\x78",
181 .border_bottom_l
= "\033#6\x6d",
182 .border_bottom_m
= "\x71",
183 .border_bottom_r
= "\x6a",
186 .init_seq
= "\033(0" /* enable DEC Special Graphics Character Set */
187 "\033[?3l", /* switch to 80 column mode */
188 .reset_seq
= "\033(B" /* enable DEC Multinational Character Set (TODO: check) */
189 "\033[?3h", /* switch to 132 column mode */