mc_skin 140 lib/skin.h void mc_skin_lines_parse_ini_file (mc_skin_t * mc_skin); mc_skin 150 lib/skin/colors-old.c mc_skin_colors_old_configure_one (mc_skin_t *mc_skin, const char *the_color_string) mc_skin 182 lib/skin/colors-old.c mc_config_set_string (mc_skin->config, skin_group, skin_key, skin_val); mc_skin 196 lib/skin/colors-old.c mc_skin_colors_old_configure (mc_skin_t *mc_skin) mc_skin 198 lib/skin/colors-old.c mc_skin_colors_old_configure_one (mc_skin, mc_global.tty.setup_color_string); mc_skin 199 lib/skin/colors-old.c mc_skin_colors_old_configure_one (mc_skin, mc_global.tty.term_color_string); mc_skin 200 lib/skin/colors-old.c mc_skin_colors_old_configure_one (mc_skin, getenv ("MC_COLOR_TABLE")); mc_skin 201 lib/skin/colors-old.c mc_skin_colors_old_configure_one (mc_skin, mc_global.tty.command_line_colors); mc_skin 53 lib/skin/colors.c mc_skin_color_get_from_hash (mc_skin_t *mc_skin, const gchar *group, const gchar *key) mc_skin 61 lib/skin/colors.c if (mc_skin == NULL) mc_skin 62 lib/skin/colors.c mc_skin = &mc_skin__default; mc_skin 65 lib/skin/colors.c mc_skin_color = (tty_color_pair_t *) g_hash_table_lookup (mc_skin->colors, (gpointer) kname); mc_skin 74 lib/skin/colors.c mc_skin_color_remove_from_hash (mc_skin_t *mc_skin, const gchar *group, const gchar *key) mc_skin 80 lib/skin/colors.c if (mc_skin == NULL) mc_skin 81 lib/skin/colors.c mc_skin = &mc_skin__default; mc_skin 84 lib/skin/colors.c g_hash_table_remove (mc_skin->colors, (gpointer) kname); mc_skin 91 lib/skin/colors.c mc_skin_color_add_to_hash (mc_skin_t *mc_skin, const gchar *group, const gchar *key, mc_skin 99 lib/skin/colors.c if (g_hash_table_lookup (mc_skin->colors, (gpointer) kname) != NULL) mc_skin 100 lib/skin/colors.c g_hash_table_remove (mc_skin->colors, (gpointer) kname); mc_skin 102 lib/skin/colors.c g_hash_table_insert (mc_skin->colors, (gpointer) kname, (gpointer) mc_skin_color); mc_skin 130 lib/skin/colors.c mc_skin_color_look_up_alias (mc_skin_t *mc_skin, gchar *str) mc_skin 143 lib/skin/colors.c values = mc_config_get_string_list (mc_skin->config, "aliases", str, &items_count); mc_skin 160 lib/skin/colors.c values = mc_config_get_string_list (mc_skin->config, "aliases", str2, &items_count); mc_skin 171 lib/skin/colors.c orig, mc_skin->name); mc_skin 183 lib/skin/colors.c mc_skin_color_get_from_ini_file (mc_skin_t *mc_skin, const gchar *group, const gchar *key) mc_skin 189 lib/skin/colors.c values = mc_config_get_string_list (mc_skin->config, group, key, &items_count); mc_skin 205 lib/skin/colors.c mc_skin_color_look_up_alias (mc_skin, g_strstrip (g_strdup (values[0]))) : mc_skin 208 lib/skin/colors.c mc_skin_color_look_up_alias (mc_skin, g_strstrip (g_strdup (values[1]))) : mc_skin 211 lib/skin/colors.c mc_skin_color_look_up_alias (mc_skin, g_strstrip (g_strdup (values[2]))) : mc_skin 224 lib/skin/colors.c mc_skin_color_set_default_for_terminal (mc_skin_t *mc_skin) mc_skin 235 lib/skin/colors.c mc_skin_color_add_to_hash (mc_skin, "skin", "terminal_default_color", mc_skin_color); mc_skin 336 lib/skin/colors.c mc_skin_color_check_bw_mode (mc_skin_t *mc_skin) mc_skin 343 lib/skin/colors.c orig_groups = mc_config_get_groups (mc_skin->config, NULL); mc_skin 347 lib/skin/colors.c mc_config_del_group (mc_skin->config, *groups); mc_skin 351 lib/skin/colors.c mc_skin_hardcoded_blackwhite_colors (mc_skin); mc_skin 359 lib/skin/colors.c mc_skin_color_parse_ini_file (mc_skin_t *mc_skin) mc_skin 366 lib/skin/colors.c mc_skin_color_check_bw_mode (mc_skin); mc_skin 368 lib/skin/colors.c orig_groups = mc_config_get_groups (mc_skin->config, &items_count); mc_skin 373 lib/skin/colors.c mc_skin_color_set_default_for_terminal (mc_skin); mc_skin 374 lib/skin/colors.c mc_skin_color = mc_skin_color_get_from_ini_file (mc_skin, "core", "_default_"); mc_skin 379 lib/skin/colors.c mc_skin_color_add_to_hash (mc_skin, "core", "_default_", mc_skin_color); mc_skin 388 lib/skin/colors.c orig_keys = mc_config_get_keys (mc_skin->config, *groups, NULL); mc_skin 392 lib/skin/colors.c mc_skin_color = mc_skin_color_get_from_ini_file (mc_skin, *groups, *keys); mc_skin 394 lib/skin/colors.c mc_skin_color_add_to_hash (mc_skin, *groups, *keys, mc_skin_color); mc_skin 36 lib/skin/hc-skins.c #define set_lines(x,y) mc_config_set_string(mc_skin->config, "Lines", x, y) mc_skin 50 lib/skin/hc-skins.c mc_skin_hardcoded_blackwhite_colors (mc_skin_t *mc_skin) mc_skin 52 lib/skin/hc-skins.c mc_config_set_string (mc_skin->config, "core", "_default_", "default;default"); mc_skin 53 lib/skin/hc-skins.c mc_config_set_string (mc_skin->config, "core", "selected", "A_REVERSE"); mc_skin 54 lib/skin/hc-skins.c mc_config_set_string (mc_skin->config, "core", "marked", "A_BOLD"); mc_skin 55 lib/skin/hc-skins.c mc_config_set_string (mc_skin->config, "core", "markselect", "A_BOLD_REVERSE"); mc_skin 56 lib/skin/hc-skins.c mc_config_set_string (mc_skin->config, "core", "disabled", "default"); mc_skin 57 lib/skin/hc-skins.c mc_config_set_string (mc_skin->config, "core", "reverse", "A_REVERSE"); mc_skin 58 lib/skin/hc-skins.c mc_config_set_string (mc_skin->config, "dialog", "_default_", "A_REVERSE"); mc_skin 59 lib/skin/hc-skins.c mc_config_set_string (mc_skin->config, "dialog", "dfocus", "A_BOLD"); mc_skin 60 lib/skin/hc-skins.c mc_config_set_string (mc_skin->config, "dialog", "dhotnormal", "A_UNDERLINE"); mc_skin 61 lib/skin/hc-skins.c mc_config_set_string (mc_skin->config, "dialog", "dhotfocus", "A_UNDERLINE"); mc_skin 62 lib/skin/hc-skins.c mc_config_set_string (mc_skin->config, "error", "_default_", "A_BOLD"); mc_skin 63 lib/skin/hc-skins.c mc_config_set_string (mc_skin->config, "menu", "_default_", "A_REVERSE"); mc_skin 64 lib/skin/hc-skins.c mc_config_set_string (mc_skin->config, "menu", "menuhot", "A_BOLD"); mc_skin 65 lib/skin/hc-skins.c mc_config_set_string (mc_skin->config, "menu", "menusel", "default"); mc_skin 66 lib/skin/hc-skins.c mc_config_set_string (mc_skin->config, "menu", "menuhotsel", "A_UNDERLINE"); mc_skin 67 lib/skin/hc-skins.c mc_config_set_string (mc_skin->config, "menu", "menuinactive", "A_REVERSE"); mc_skin 68 lib/skin/hc-skins.c mc_config_set_string (mc_skin->config, "popupmenu", "_default_", "A_REVERSE"); mc_skin 69 lib/skin/hc-skins.c mc_config_set_string (mc_skin->config, "popupmenu", "menusel", "default"); mc_skin 70 lib/skin/hc-skins.c mc_config_set_string (mc_skin->config, "popupmenu", "menutitle", "A_REVERSE"); mc_skin 71 lib/skin/hc-skins.c mc_config_set_string (mc_skin->config, "statusbar", "_default_", "A_REVERSE"); mc_skin 72 lib/skin/hc-skins.c mc_config_set_string (mc_skin->config, "help", "_default_", "A_REVERSE"); mc_skin 73 lib/skin/hc-skins.c mc_config_set_string (mc_skin->config, "help", "helpitalic", "A_REVERSE"); mc_skin 74 lib/skin/hc-skins.c mc_config_set_string (mc_skin->config, "help", "helpbold", "A_REVERSE"); mc_skin 75 lib/skin/hc-skins.c mc_config_set_string (mc_skin->config, "help", "helpslink", "A_BOLD"); mc_skin 76 lib/skin/hc-skins.c mc_config_set_string (mc_skin->config, "viewer", "viewunderline", "A_UNDERLINE"); mc_skin 77 lib/skin/hc-skins.c mc_config_set_string (mc_skin->config, "editor", "editbold", "A_BOLD"); mc_skin 78 lib/skin/hc-skins.c mc_config_set_string (mc_skin->config, "editor", "editmarked", "A_REVERSE"); mc_skin 79 lib/skin/hc-skins.c mc_config_set_string (mc_skin->config, "editor", "editframeactive", "A_BOLD"); mc_skin 80 lib/skin/hc-skins.c mc_config_set_string (mc_skin->config, "editor", "editframedrag", "A_REVERSE"); mc_skin 81 lib/skin/hc-skins.c mc_config_set_string (mc_skin->config, "buttonbar", "hotkey", "default"); mc_skin 82 lib/skin/hc-skins.c mc_config_set_string (mc_skin->config, "buttonbar", "button", "A_REVERSE"); mc_skin 88 lib/skin/hc-skins.c mc_skin_hardcoded_space_lines (mc_skin_t *mc_skin) mc_skin 118 lib/skin/hc-skins.c mc_skin_hardcoded_ugly_lines (mc_skin_t *mc_skin) mc_skin 102 lib/skin/ini-file.c mc_skin_ini_file_load_search_in_dir (mc_skin_t *mc_skin, const gchar *base_dir) mc_skin 106 lib/skin/ini-file.c file_name = g_build_filename (base_dir, MC_SKINS_DIR, mc_skin->name, (char *) NULL); mc_skin 109 lib/skin/ini-file.c mc_skin->config = mc_config_init (file_name, TRUE); mc_skin 111 lib/skin/ini-file.c return (mc_skin->config != NULL); mc_skin 115 lib/skin/ini-file.c file_name2 = g_strdup_printf ("%s.ini", mc_skin->name); mc_skin 121 lib/skin/ini-file.c mc_skin->config = mc_config_init (file_name, TRUE); mc_skin 123 lib/skin/ini-file.c return (mc_skin->config != NULL); mc_skin 150 lib/skin/ini-file.c mc_skin_ini_file_load (mc_skin_t *mc_skin) mc_skin 154 lib/skin/ini-file.c file_name = g_path_get_basename (mc_skin->name); mc_skin 158 lib/skin/ini-file.c if (strcmp (file_name, mc_skin->name) != 0) mc_skin 161 lib/skin/ini-file.c if (!g_path_is_absolute (mc_skin->name)) mc_skin 163 lib/skin/ini-file.c mc_skin->config = mc_config_init (mc_skin->name, TRUE); mc_skin 164 lib/skin/ini-file.c return (mc_skin->config != NULL); mc_skin 169 lib/skin/ini-file.c if (mc_skin_ini_file_load_search_in_dir (mc_skin, mc_config_get_data_path ())) mc_skin 173 lib/skin/ini-file.c if (mc_skin_ini_file_load_search_in_dir (mc_skin, mc_global.sysconfig_dir)) mc_skin 177 lib/skin/ini-file.c return mc_skin_ini_file_load_search_in_dir (mc_skin, mc_global.share_data_dir); mc_skin 183 lib/skin/ini-file.c mc_skin_ini_file_parse (mc_skin_t *mc_skin) mc_skin 185 lib/skin/ini-file.c mc_skin->description = mc_skin 186 lib/skin/ini-file.c mc_config_get_string (mc_skin->config, "skin", "description", "- no description -"); mc_skin 187 lib/skin/ini-file.c if (!mc_skin_color_parse_ini_file (mc_skin)) mc_skin 190 lib/skin/ini-file.c mc_skin_lines_parse_ini_file (mc_skin); mc_skin 191 lib/skin/ini-file.c mc_skin->have_256_colors = mc_config_get_bool (mc_skin->config, "skin", "256colors", FALSE); mc_skin 192 lib/skin/ini-file.c mc_skin->have_true_colors = mc_config_get_bool (mc_skin->config, "skin", "truecolors", FALSE); mc_skin 200 lib/skin/ini-file.c mc_skin_set_hardcoded_skin (mc_skin_t *mc_skin) mc_skin 202 lib/skin/ini-file.c mc_skin->config = mc_config_init (NULL, TRUE); mc_skin 204 lib/skin/ini-file.c mc_config_set_string (mc_skin->config, "skin", "description", "hardcoded skin"); mc_skin 206 lib/skin/ini-file.c mc_skin_hardcoded_ugly_lines (mc_skin); mc_skin 207 lib/skin/ini-file.c mc_skin_hardcoded_blackwhite_colors (mc_skin); mc_skin 17 lib/skin/internal.h gboolean mc_skin_ini_file_load (mc_skin_t * mc_skin); mc_skin 18 lib/skin/internal.h gboolean mc_skin_ini_file_parse (mc_skin_t * mc_skin); mc_skin 19 lib/skin/internal.h void mc_skin_set_hardcoded_skin (mc_skin_t * mc_skin); mc_skin 21 lib/skin/internal.h gboolean mc_skin_ini_file_parse_colors (mc_skin_t * mc_skin); mc_skin 22 lib/skin/internal.h gboolean mc_skin_color_parse_ini_file (mc_skin_t * mc_skin); mc_skin 24 lib/skin/internal.h void mc_skin_hardcoded_ugly_lines (mc_skin_t * mc_skin); mc_skin 25 lib/skin/internal.h void mc_skin_hardcoded_space_lines (mc_skin_t * mc_skin); mc_skin 26 lib/skin/internal.h void mc_skin_hardcoded_blackwhite_colors (mc_skin_t * mc_skin); mc_skin 28 lib/skin/internal.h void mc_skin_colors_old_configure (mc_skin_t * mc_skin); mc_skin 48 lib/skin/lines.c mc_skin_lines_load_frm (mc_skin_t *mc_skin, const char *name) mc_skin 53 lib/skin/lines.c frm_val = mc_config_get_string_raw (mc_skin->config, "Lines", name, " "); mc_skin 65 lib/skin/lines.c mc_skin_lines_parse_ini_file (mc_skin_t *mc_skin) mc_skin 68 lib/skin/lines.c mc_skin_hardcoded_space_lines (mc_skin); mc_skin 70 lib/skin/lines.c mc_skin_hardcoded_ugly_lines (mc_skin); mc_skin 73 lib/skin/lines.c mc_tty_frm[MC_TTY_FRM_VERT] = mc_skin_lines_load_frm (mc_skin, "vert"); mc_skin 74 lib/skin/lines.c mc_tty_frm[MC_TTY_FRM_HORIZ] = mc_skin_lines_load_frm (mc_skin, "horiz"); mc_skin 75 lib/skin/lines.c mc_tty_frm[MC_TTY_FRM_LEFTTOP] = mc_skin_lines_load_frm (mc_skin, "lefttop"); mc_skin 76 lib/skin/lines.c mc_tty_frm[MC_TTY_FRM_RIGHTTOP] = mc_skin_lines_load_frm (mc_skin, "righttop"); mc_skin 77 lib/skin/lines.c mc_tty_frm[MC_TTY_FRM_LEFTBOTTOM] = mc_skin_lines_load_frm (mc_skin, "leftbottom"); mc_skin 78 lib/skin/lines.c mc_tty_frm[MC_TTY_FRM_RIGHTBOTTOM] = mc_skin_lines_load_frm (mc_skin, "rightbottom"); mc_skin 79 lib/skin/lines.c mc_tty_frm[MC_TTY_FRM_TOPMIDDLE] = mc_skin_lines_load_frm (mc_skin, "topmiddle"); mc_skin 80 lib/skin/lines.c mc_tty_frm[MC_TTY_FRM_BOTTOMMIDDLE] = mc_skin_lines_load_frm (mc_skin, "bottommiddle"); mc_skin 81 lib/skin/lines.c mc_tty_frm[MC_TTY_FRM_LEFTMIDDLE] = mc_skin_lines_load_frm (mc_skin, "leftmiddle"); mc_skin 82 lib/skin/lines.c mc_tty_frm[MC_TTY_FRM_RIGHTMIDDLE] = mc_skin_lines_load_frm (mc_skin, "rightmiddle"); mc_skin 83 lib/skin/lines.c mc_tty_frm[MC_TTY_FRM_CROSS] = mc_skin_lines_load_frm (mc_skin, "cross"); mc_skin 86 lib/skin/lines.c mc_tty_frm[MC_TTY_FRM_DVERT] = mc_skin_lines_load_frm (mc_skin, "dvert"); mc_skin 87 lib/skin/lines.c mc_tty_frm[MC_TTY_FRM_DHORIZ] = mc_skin_lines_load_frm (mc_skin, "dhoriz"); mc_skin 88 lib/skin/lines.c mc_tty_frm[MC_TTY_FRM_DLEFTTOP] = mc_skin_lines_load_frm (mc_skin, "dlefttop"); mc_skin 89 lib/skin/lines.c mc_tty_frm[MC_TTY_FRM_DRIGHTTOP] = mc_skin_lines_load_frm (mc_skin, "drighttop"); mc_skin 90 lib/skin/lines.c mc_tty_frm[MC_TTY_FRM_DLEFTBOTTOM] = mc_skin_lines_load_frm (mc_skin, "dleftbottom"); mc_skin 91 lib/skin/lines.c mc_tty_frm[MC_TTY_FRM_DRIGHTBOTTOM] = mc_skin_lines_load_frm (mc_skin, "drightbottom"); mc_skin 92 lib/skin/lines.c mc_tty_frm[MC_TTY_FRM_DTOPMIDDLE] = mc_skin_lines_load_frm (mc_skin, "dtopmiddle"); mc_skin 93 lib/skin/lines.c mc_tty_frm[MC_TTY_FRM_DBOTTOMMIDDLE] = mc_skin_lines_load_frm (mc_skin, "dbottommiddle"); mc_skin 94 lib/skin/lines.c mc_tty_frm[MC_TTY_FRM_DLEFTMIDDLE] = mc_skin_lines_load_frm (mc_skin, "dleftmiddle"); mc_skin 95 lib/skin/lines.c mc_tty_frm[MC_TTY_FRM_DRIGHTMIDDLE] = mc_skin_lines_load_frm (mc_skin, "drightmiddle");