README: mention SDL2 backend
[rofl0r-concol.git] / console_chars.h
blobffce20040c892b2ab98eeadb7430a9835220475e
1 #ifndef CONSOLE_CHARS_H
2 #define CONSOLE_CHARS_H
4 /* naming of the constants
6 * single border:
7 cc_ulcorner (ul = upper left)
9 * double border:
10 cc_ulcorner_d et al
12 * double border on vertical lines, single border on horizontal lines, like ||-
13 dv = double vertical, sh = single horizontal
14 cc_ulcorner_dv_sh
16 * double border on horizontal lines, single border on vertical lines, like |=
17 cc_ulcorner_dh_sv
19 these constants are mostly named after their ncurses equivalent, e.g.
20 ACS_BLOCK. some other useful symbols have beend added to complete the set.
21 see the ncurses header that defines ACS_BLOCK et al for more information.
25 enum console_chars {
26 cc_block = 0, /* solid block, filling entire cell */
27 cc_board,
28 cc_btee,
29 cc_btee_d,
30 cc_btee_dh_sv,
31 cc_btee_dv_sh,
32 cc_bullet,
33 cc_ckboard,
34 cc_darrow,
35 cc_degree,
36 cc_diamond,
37 cc_double_arrow_gt, /* >> */
38 cc_double_arrow_lt, /* << */
39 cc_gequal,
40 cc_hline,
41 cc_hline_bold,
42 cc_hline_d,
43 cc_lantern,
44 cc_larrow,
45 cc_lequal,
46 cc_llcorner,
47 cc_llcorner_d,
48 cc_llcorner_dh_sv,
49 cc_llcorner_dv_sh,
50 cc_lrcorner,
51 cc_lrcorner_d,
52 cc_lrcorner_dh_sv,
53 cc_lrcorner_dv_sh,
54 cc_ltee,
55 cc_ltee_d,
56 cc_ltee_dh_sv,
57 cc_ltee_dv_sh,
58 cc_nequal,
59 cc_pi,
60 cc_plminus,
61 /* plus is the center crossing of lines. like + */
62 cc_plus,
63 cc_plus_d,
64 cc_plus_dh_sv,
65 cc_plus_dv_sh,
66 cc_rarrow,
67 cc_rtee,
68 cc_rtee_d,
69 cc_rtee_dh_sv,
70 cc_rtee_dv_sh,
71 /* scan line 1, .. 9, whatever that means */
72 cc_s1,
73 cc_s3,
74 cc_s7,
75 cc_s9,
76 /* shadow - this is a solid block filling half of a cell */
77 cc_shadow_bottom,
78 cc_shadow_left,
79 cc_shadow_right,
80 cc_shadow_top,
81 cc_sterling,
82 /* t = top, b = bottom, r= right, ...:
83 * tee is the crossing of 3 lines, like T on top or -| on the right */
84 cc_ttee,
85 cc_ttee_d,
86 cc_ttee_dh_sv,
87 cc_ttee_dv_sh,
88 cc_uarrow,
89 cc_ulcorner,
90 cc_ulcorner_d,
91 cc_ulcorner_dh_sv,
92 cc_ulcorner_dv_sh,
93 cc_urcorner,
94 cc_urcorner_d,
95 cc_urcorner_dh_sv,
96 cc_urcorner_dv_sh,
97 cc_vline,
98 cc_vline_bold,
99 cc_vline_d,
100 CC_MAX
103 #endif