Home
last modified time | relevance | path

Searched refs:mc_skin (Results 1 – 14 of 14) sorted by relevance

/dports/misc/mc/mc-4.8.27/lib/skin/
H A Dhc-skins.c36 #define set_lines(x,y) mc_config_set_string(mc_skin->config, "Lines", x, y)
50 mc_skin_hardcoded_blackwhite_colors (mc_skin_t * mc_skin) in mc_skin_hardcoded_blackwhite_colors() argument
54 mc_config_set_string (mc_skin->config, "core", "marked", "A_BOLD"); in mc_skin_hardcoded_blackwhite_colors()
56 mc_config_set_string (mc_skin->config, "core", "disabled", "default"); in mc_skin_hardcoded_blackwhite_colors()
57 mc_config_set_string (mc_skin->config, "core", "reverse", "A_REVERSE"); in mc_skin_hardcoded_blackwhite_colors()
59 mc_config_set_string (mc_skin->config, "dialog", "dfocus", "A_BOLD"); in mc_skin_hardcoded_blackwhite_colors()
64 mc_config_set_string (mc_skin->config, "menu", "menuhot", "A_BOLD"); in mc_skin_hardcoded_blackwhite_colors()
65 mc_config_set_string (mc_skin->config, "menu", "menusel", "default"); in mc_skin_hardcoded_blackwhite_colors()
75 mc_config_set_string (mc_skin->config, "help", "helpslink", "A_BOLD"); in mc_skin_hardcoded_blackwhite_colors()
88 mc_skin_hardcoded_space_lines (mc_skin_t * mc_skin) in mc_skin_hardcoded_space_lines() argument
[all …]
H A Dlines.c44 mc_skin_lines_load_frm (mc_skin_t * mc_skin, const char *name) in mc_skin_lines_load_frm() argument
49 frm_val = mc_config_get_string_raw (mc_skin->config, "Lines", name, " "); in mc_skin_lines_load_frm()
61 mc_skin_lines_parse_ini_file (mc_skin_t * mc_skin) in mc_skin_lines_parse_ini_file() argument
64 mc_skin_hardcoded_space_lines (mc_skin); in mc_skin_lines_parse_ini_file()
66 mc_skin_hardcoded_ugly_lines (mc_skin); in mc_skin_lines_parse_ini_file()
69 mc_tty_frm[MC_TTY_FRM_VERT] = mc_skin_lines_load_frm (mc_skin, "vert"); in mc_skin_lines_parse_ini_file()
70 mc_tty_frm[MC_TTY_FRM_HORIZ] = mc_skin_lines_load_frm (mc_skin, "horiz"); in mc_skin_lines_parse_ini_file()
71 mc_tty_frm[MC_TTY_FRM_LEFTTOP] = mc_skin_lines_load_frm (mc_skin, "lefttop"); in mc_skin_lines_parse_ini_file()
79 mc_tty_frm[MC_TTY_FRM_CROSS] = mc_skin_lines_load_frm (mc_skin, "cross"); in mc_skin_lines_parse_ini_file()
82 mc_tty_frm[MC_TTY_FRM_DVERT] = mc_skin_lines_load_frm (mc_skin, "dvert"); in mc_skin_lines_parse_ini_file()
[all …]
H A Dini-file.c109 return (mc_skin->config != NULL); in mc_skin_ini_file_load_search_in_dir()
121 return (mc_skin->config != NULL); in mc_skin_ini_file_load_search_in_dir()
148 mc_skin_ini_file_load (mc_skin_t * mc_skin) in mc_skin_ini_file_load() argument
161 mc_skin->config = mc_config_init (mc_skin->name, TRUE); in mc_skin_ini_file_load()
162 return (mc_skin->config != NULL); in mc_skin_ini_file_load()
181 mc_skin_ini_file_parse (mc_skin_t * mc_skin) in mc_skin_ini_file_parse() argument
183 mc_skin->description = in mc_skin_ini_file_parse()
188 mc_skin_lines_parse_ini_file (mc_skin); in mc_skin_ini_file_parse()
189 mc_skin->have_256_colors = mc_config_get_bool (mc_skin->config, "skin", "256colors", FALSE); in mc_skin_ini_file_parse()
190 mc_skin->have_true_colors = mc_config_get_bool (mc_skin->config, "skin", "truecolors", FALSE); in mc_skin_ini_file_parse()
[all …]
H A Dcolors.c57 if (mc_skin == NULL) in mc_skin_color_get_from_hash()
58 mc_skin = &mc_skin__default; in mc_skin_color_get_from_hash()
76 if (mc_skin == NULL)
77 mc_skin = &mc_skin__default;
80 g_hash_table_remove (mc_skin->colors, (gpointer) kname);
167 orig, mc_skin->name); in mc_skin_color_look_up_alias()
334 mc_skin_color_check_bw_mode (mc_skin_t * mc_skin) in mc_skin_color_check_bw_mode() argument
349 mc_skin_hardcoded_blackwhite_colors (mc_skin); in mc_skin_color_check_bw_mode()
357 mc_skin_color_parse_ini_file (mc_skin_t * mc_skin) in mc_skin_color_parse_ini_file() argument
364 mc_skin_color_check_bw_mode (mc_skin); in mc_skin_color_parse_ini_file()
[all …]
H A Dinternal.h25 gboolean mc_skin_ini_file_load (mc_skin_t * mc_skin);
26 gboolean mc_skin_ini_file_parse (mc_skin_t * mc_skin);
27 void mc_skin_set_hardcoded_skin (mc_skin_t * mc_skin);
29 gboolean mc_skin_ini_file_parse_colors (mc_skin_t * mc_skin);
30 gboolean mc_skin_color_parse_ini_file (mc_skin_t * mc_skin);
32 void mc_skin_hardcoded_ugly_lines (mc_skin_t * mc_skin);
33 void mc_skin_hardcoded_space_lines (mc_skin_t * mc_skin);
34 void mc_skin_hardcoded_blackwhite_colors (mc_skin_t * mc_skin);
36 void mc_skin_colors_old_configure (mc_skin_t * mc_skin);
H A Dcolors-old.c145 mc_skin_colors_old_configure_one (mc_skin_t * mc_skin, const char *the_color_string) in mc_skin_colors_old_configure_one() argument
177 mc_config_set_string (mc_skin->config, skin_group, skin_key, skin_val); in mc_skin_colors_old_configure_one()
191 mc_skin_colors_old_configure (mc_skin_t * mc_skin) in mc_skin_colors_old_configure() argument
193 mc_skin_colors_old_configure_one (mc_skin, mc_global.tty.setup_color_string); in mc_skin_colors_old_configure()
194 mc_skin_colors_old_configure_one (mc_skin, mc_global.tty.term_color_string); in mc_skin_colors_old_configure()
195 mc_skin_colors_old_configure_one (mc_skin, getenv ("MC_COLOR_TABLE")); in mc_skin_colors_old_configure()
196 mc_skin_colors_old_configure_one (mc_skin, mc_global.tty.command_line_colors); in mc_skin_colors_old_configure()
/dports/misc/mc-nox11/mc-4.8.27/lib/skin/
H A Dhc-skins.c36 #define set_lines(x,y) mc_config_set_string(mc_skin->config, "Lines", x, y)
50 mc_skin_hardcoded_blackwhite_colors (mc_skin_t * mc_skin) in mc_skin_hardcoded_blackwhite_colors() argument
54 mc_config_set_string (mc_skin->config, "core", "marked", "A_BOLD"); in mc_skin_hardcoded_blackwhite_colors()
56 mc_config_set_string (mc_skin->config, "core", "disabled", "default"); in mc_skin_hardcoded_blackwhite_colors()
57 mc_config_set_string (mc_skin->config, "core", "reverse", "A_REVERSE"); in mc_skin_hardcoded_blackwhite_colors()
59 mc_config_set_string (mc_skin->config, "dialog", "dfocus", "A_BOLD"); in mc_skin_hardcoded_blackwhite_colors()
64 mc_config_set_string (mc_skin->config, "menu", "menuhot", "A_BOLD"); in mc_skin_hardcoded_blackwhite_colors()
65 mc_config_set_string (mc_skin->config, "menu", "menusel", "default"); in mc_skin_hardcoded_blackwhite_colors()
75 mc_config_set_string (mc_skin->config, "help", "helpslink", "A_BOLD"); in mc_skin_hardcoded_blackwhite_colors()
88 mc_skin_hardcoded_space_lines (mc_skin_t * mc_skin) in mc_skin_hardcoded_space_lines() argument
[all …]
H A Dlines.c44 mc_skin_lines_load_frm (mc_skin_t * mc_skin, const char *name) in mc_skin_lines_load_frm() argument
49 frm_val = mc_config_get_string_raw (mc_skin->config, "Lines", name, " "); in mc_skin_lines_load_frm()
61 mc_skin_lines_parse_ini_file (mc_skin_t * mc_skin) in mc_skin_lines_parse_ini_file() argument
64 mc_skin_hardcoded_space_lines (mc_skin); in mc_skin_lines_parse_ini_file()
66 mc_skin_hardcoded_ugly_lines (mc_skin); in mc_skin_lines_parse_ini_file()
69 mc_tty_frm[MC_TTY_FRM_VERT] = mc_skin_lines_load_frm (mc_skin, "vert"); in mc_skin_lines_parse_ini_file()
70 mc_tty_frm[MC_TTY_FRM_HORIZ] = mc_skin_lines_load_frm (mc_skin, "horiz"); in mc_skin_lines_parse_ini_file()
71 mc_tty_frm[MC_TTY_FRM_LEFTTOP] = mc_skin_lines_load_frm (mc_skin, "lefttop"); in mc_skin_lines_parse_ini_file()
79 mc_tty_frm[MC_TTY_FRM_CROSS] = mc_skin_lines_load_frm (mc_skin, "cross"); in mc_skin_lines_parse_ini_file()
82 mc_tty_frm[MC_TTY_FRM_DVERT] = mc_skin_lines_load_frm (mc_skin, "dvert"); in mc_skin_lines_parse_ini_file()
[all …]
H A Dini-file.c109 return (mc_skin->config != NULL); in mc_skin_ini_file_load_search_in_dir()
121 return (mc_skin->config != NULL); in mc_skin_ini_file_load_search_in_dir()
148 mc_skin_ini_file_load (mc_skin_t * mc_skin) in mc_skin_ini_file_load() argument
161 mc_skin->config = mc_config_init (mc_skin->name, TRUE); in mc_skin_ini_file_load()
162 return (mc_skin->config != NULL); in mc_skin_ini_file_load()
181 mc_skin_ini_file_parse (mc_skin_t * mc_skin) in mc_skin_ini_file_parse() argument
183 mc_skin->description = in mc_skin_ini_file_parse()
188 mc_skin_lines_parse_ini_file (mc_skin); in mc_skin_ini_file_parse()
189 mc_skin->have_256_colors = mc_config_get_bool (mc_skin->config, "skin", "256colors", FALSE); in mc_skin_ini_file_parse()
190 mc_skin->have_true_colors = mc_config_get_bool (mc_skin->config, "skin", "truecolors", FALSE); in mc_skin_ini_file_parse()
[all …]
H A Dcolors.c57 if (mc_skin == NULL) in mc_skin_color_get_from_hash()
58 mc_skin = &mc_skin__default; in mc_skin_color_get_from_hash()
76 if (mc_skin == NULL)
77 mc_skin = &mc_skin__default;
80 g_hash_table_remove (mc_skin->colors, (gpointer) kname);
167 orig, mc_skin->name); in mc_skin_color_look_up_alias()
334 mc_skin_color_check_bw_mode (mc_skin_t * mc_skin) in mc_skin_color_check_bw_mode() argument
349 mc_skin_hardcoded_blackwhite_colors (mc_skin); in mc_skin_color_check_bw_mode()
357 mc_skin_color_parse_ini_file (mc_skin_t * mc_skin) in mc_skin_color_parse_ini_file() argument
364 mc_skin_color_check_bw_mode (mc_skin); in mc_skin_color_parse_ini_file()
[all …]
H A Dinternal.h25 gboolean mc_skin_ini_file_load (mc_skin_t * mc_skin);
26 gboolean mc_skin_ini_file_parse (mc_skin_t * mc_skin);
27 void mc_skin_set_hardcoded_skin (mc_skin_t * mc_skin);
29 gboolean mc_skin_ini_file_parse_colors (mc_skin_t * mc_skin);
30 gboolean mc_skin_color_parse_ini_file (mc_skin_t * mc_skin);
32 void mc_skin_hardcoded_ugly_lines (mc_skin_t * mc_skin);
33 void mc_skin_hardcoded_space_lines (mc_skin_t * mc_skin);
34 void mc_skin_hardcoded_blackwhite_colors (mc_skin_t * mc_skin);
36 void mc_skin_colors_old_configure (mc_skin_t * mc_skin);
H A Dcolors-old.c145 mc_skin_colors_old_configure_one (mc_skin_t * mc_skin, const char *the_color_string) in mc_skin_colors_old_configure_one() argument
177 mc_config_set_string (mc_skin->config, skin_group, skin_key, skin_val); in mc_skin_colors_old_configure_one()
191 mc_skin_colors_old_configure (mc_skin_t * mc_skin) in mc_skin_colors_old_configure() argument
193 mc_skin_colors_old_configure_one (mc_skin, mc_global.tty.setup_color_string); in mc_skin_colors_old_configure()
194 mc_skin_colors_old_configure_one (mc_skin, mc_global.tty.term_color_string); in mc_skin_colors_old_configure()
195 mc_skin_colors_old_configure_one (mc_skin, getenv ("MC_COLOR_TABLE")); in mc_skin_colors_old_configure()
196 mc_skin_colors_old_configure_one (mc_skin, mc_global.tty.command_line_colors); in mc_skin_colors_old_configure()
/dports/misc/mc/mc-4.8.27/lib/
H A Dskin.h139 void mc_skin_lines_parse_ini_file (mc_skin_t * mc_skin);
/dports/misc/mc-nox11/mc-4.8.27/lib/
H A Dskin.h139 void mc_skin_lines_parse_ini_file (mc_skin_t * mc_skin);