5 Copyright (C) 2009 The Free Software Foundation, Inc.
8 Slava Zanko <slavazanko@gmail.com>, 2009.
10 This file is part of the Midnight Commander.
12 The Midnight Commander is free software; you can redistribute it
13 and/or modify it under the terms of the GNU General Public License as
14 published by the Free Software Foundation; either version 2 of the
15 License, or (at your option) any later version.
17 The Midnight Commander is distributed in the hope that it will be
18 useful, but WITHOUT ANY WARRANTY; without even the implied warranty
19 of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 General Public License for more details.
22 You should have received a copy of the GNU General Public License
23 along with this program; if not, write to the Free Software
24 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
33 /*** global variables ****************************************************************************/
35 /*** file scope macro definitions ****************************************************************/
37 #define set_lines(x,y) mc_config_set_string(mc_skin->config, "Lines", x, y)
39 /*** file scope type declarations ****************************************************************/
41 /*** file scope variables ************************************************************************/
43 /*** file scope functions ************************************************************************/
44 /* --------------------------------------------------------------------------------------------- */
46 /* --------------------------------------------------------------------------------------------- */
47 /*** public functions ****************************************************************************/
48 /* --------------------------------------------------------------------------------------------- */
51 mc_skin_hardcoded_blackwhite_colors (mc_skin_t
* mc_skin
)
53 mc_config_set_string (mc_skin
->config
, "core", "_default_", "default;default");
54 mc_config_set_string (mc_skin
->config
, "core", "selected", "A_REVERSE");
55 mc_config_set_string (mc_skin
->config
, "core", "marked", "A_BOLD");
56 mc_config_set_string (mc_skin
->config
, "core", "markselect", "A_BOLD_REVERSE");
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_", "default");
64 mc_config_set_string (mc_skin
->config
, "menu", "menuhot", "A_UNDERLINE");
65 mc_config_set_string (mc_skin
->config
, "menu", "menusel", "A_REVERSE");
66 mc_config_set_string (mc_skin
->config
, "menu", "menuhotsel", "A_UNDERLINE");
67 mc_config_set_string (mc_skin
->config
, "help", "_default_", "A_REVERSE");
68 mc_config_set_string (mc_skin
->config
, "help", "helpitalic", "A_REVERSE");
69 mc_config_set_string (mc_skin
->config
, "help", "helpbold", "A_REVERSE");
70 mc_config_set_string (mc_skin
->config
, "help", "helpslink", "A_BOLD");
71 mc_config_set_string (mc_skin
->config
, "viewer", "viewunderline", "A_UNDERLINE");
72 mc_config_set_string (mc_skin
->config
, "editor", "editbold", "A_BOLD");
73 mc_config_set_string (mc_skin
->config
, "editor", "editmarked", "A_REVERSE");
76 /* --------------------------------------------------------------------------------------------- */
79 mc_skin_hardcoded_space_lines (mc_skin_t
* mc_skin
)
81 set_lines ("lefttop", " ");
82 set_lines ("righttop", " ");
83 set_lines ("centertop", " ");
84 set_lines ("centerbottom", " ");
85 set_lines ("leftbottom", " ");
86 set_lines ("rightbottom", " ");
87 set_lines ("leftmiddle", " ");
88 set_lines ("rightmiddle", " ");
89 set_lines ("centermiddle", " ");
90 set_lines ("horiz", " ");
91 set_lines ("vert", " ");
92 set_lines ("thinhoriz", " ");
93 set_lines ("thinvert", " ");
96 /* --------------------------------------------------------------------------------------------- */
99 mc_skin_hardcoded_ugly_lines (mc_skin_t
* mc_skin
)
101 set_lines ("lefttop", "+");
102 set_lines ("righttop", "+");
103 set_lines ("centertop", "-");
104 set_lines ("centerbottom", "-");
105 set_lines ("leftbottom", "+");
106 set_lines ("rightbottom", "+");
107 set_lines ("leftmiddle", "|");
108 set_lines ("rightmiddle", "|");
109 set_lines ("centermiddle", "+");
110 set_lines ("horiz", "-");
111 set_lines ("vert", "|");
112 set_lines ("thinhoriz", "-");
113 set_lines ("thinvert", "|");
116 /* --------------------------------------------------------------------------------------------- */