This source file includes following definitions.
- mc_skin_hardcoded_blackwhite_colors
- mc_skin_hardcoded_space_lines
- mc_skin_hardcoded_ugly_lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28 #include <config.h>
29
30 #include "internal.h"
31
32
33
34
35
36 #define set_lines(x,y) mc_config_set_string(mc_skin->config, "Lines", x, y)
37
38
39
40
41
42
43
44
45
46
47
48
49 void
50 mc_skin_hardcoded_blackwhite_colors (mc_skin_t *mc_skin)
51 {
52 mc_config_set_string (mc_skin->config, "core", "_default_", "default;default");
53 mc_config_set_string (mc_skin->config, "core", "selected", "A_REVERSE");
54 mc_config_set_string (mc_skin->config, "core", "marked", "A_BOLD");
55 mc_config_set_string (mc_skin->config, "core", "markselect", "A_BOLD_REVERSE");
56 mc_config_set_string (mc_skin->config, "core", "disabled", "default");
57 mc_config_set_string (mc_skin->config, "core", "reverse", "A_REVERSE");
58 mc_config_set_string (mc_skin->config, "dialog", "_default_", "A_REVERSE");
59 mc_config_set_string (mc_skin->config, "dialog", "dfocus", "A_BOLD");
60 mc_config_set_string (mc_skin->config, "dialog", "dhotnormal", "A_UNDERLINE");
61 mc_config_set_string (mc_skin->config, "dialog", "dhotfocus", "A_UNDERLINE");
62 mc_config_set_string (mc_skin->config, "error", "_default_", "A_BOLD");
63 mc_config_set_string (mc_skin->config, "menu", "_default_", "A_REVERSE");
64 mc_config_set_string (mc_skin->config, "menu", "menuhot", "A_BOLD");
65 mc_config_set_string (mc_skin->config, "menu", "menusel", "default");
66 mc_config_set_string (mc_skin->config, "menu", "menuhotsel", "A_UNDERLINE");
67 mc_config_set_string (mc_skin->config, "menu", "menuinactive", "A_REVERSE");
68 mc_config_set_string (mc_skin->config, "popupmenu", "_default_", "A_REVERSE");
69 mc_config_set_string (mc_skin->config, "popupmenu", "menusel", "default");
70 mc_config_set_string (mc_skin->config, "popupmenu", "menutitle", "A_REVERSE");
71 mc_config_set_string (mc_skin->config, "statusbar", "_default_", "A_REVERSE");
72 mc_config_set_string (mc_skin->config, "help", "_default_", "A_REVERSE");
73 mc_config_set_string (mc_skin->config, "help", "helpitalic", "A_REVERSE");
74 mc_config_set_string (mc_skin->config, "help", "helpbold", "A_REVERSE");
75 mc_config_set_string (mc_skin->config, "help", "helpslink", "A_BOLD");
76 mc_config_set_string (mc_skin->config, "viewer", "viewunderline", "A_UNDERLINE");
77 mc_config_set_string (mc_skin->config, "editor", "editbold", "A_BOLD");
78 mc_config_set_string (mc_skin->config, "editor", "editmarked", "A_REVERSE");
79 mc_config_set_string (mc_skin->config, "editor", "editframeactive", "A_BOLD");
80 mc_config_set_string (mc_skin->config, "editor", "editframedrag", "A_REVERSE");
81 mc_config_set_string (mc_skin->config, "buttonbar", "hotkey", "default");
82 mc_config_set_string (mc_skin->config, "buttonbar", "button", "A_REVERSE");
83 }
84
85
86
87 void
88 mc_skin_hardcoded_space_lines (mc_skin_t *mc_skin)
89 {
90
91 set_lines ("vert", " ");
92 set_lines ("horiz", " ");
93 set_lines ("lefttop", " ");
94 set_lines ("righttop", " ");
95 set_lines ("leftbottom", " ");
96 set_lines ("rightbottom", " ");
97 set_lines ("topmiddle", " ");
98 set_lines ("bottommiddle", " ");
99 set_lines ("leftmiddle", " ");
100 set_lines ("rightmiddle", " ");
101 set_lines ("cross", " ");
102
103 set_lines ("dvert", " ");
104 set_lines ("dhoriz", " ");
105 set_lines ("dlefttop", " ");
106 set_lines ("drighttop", " ");
107 set_lines ("dleftbottom", " ");
108 set_lines ("drightbottom", " ");
109 set_lines ("dtopmiddle", " ");
110 set_lines ("dbottommiddle", " ");
111 set_lines ("dleftmiddle", " ");
112 set_lines ("drightmiddle", " ");
113 }
114
115
116
117 void
118 mc_skin_hardcoded_ugly_lines (mc_skin_t *mc_skin)
119 {
120
121 set_lines ("vert", "|");
122 set_lines ("horiz", "-");
123 set_lines ("lefttop", "+");
124 set_lines ("righttop", "+");
125 set_lines ("leftbottom", "+");
126 set_lines ("rightbottom", "+");
127 set_lines ("topmiddle", "-");
128 set_lines ("bottommiddle", "-");
129 set_lines ("leftmiddle", "|");
130 set_lines ("rightmiddle", "|");
131 set_lines ("cross", "+");
132
133
134 set_lines ("dvert", "|");
135 set_lines ("dhoriz", "-");
136 set_lines ("dlefttop", "+");
137 set_lines ("drighttop", "+");
138 set_lines ("dleftbottom", "+");
139 set_lines ("drightbottom", "+");
140 set_lines ("dtopmiddle", "-");
141 set_lines ("dbottommiddle", "-");
142 set_lines ("dleftmiddle", "|");
143 set_lines ("drightmiddle", "|");
144 }
145
146