color 206 lib/tty/color-ncurses.c tty_setcolor (int color) color 208 lib/tty/color-ncurses.c attrset (COLOR_PAIR (color) | color_get_attr (color)); color 214 lib/tty/color-ncurses.c tty_lowlevel_setcolor (int color) color 216 lib/tty/color-ncurses.c tty_setcolor (color); color 188 lib/tty/color-slang.c tty_setcolor (int color) color 190 lib/tty/color-slang.c SLsmg_set_color (color); color 199 lib/tty/color-slang.c tty_lowlevel_setcolor (int color) color 201 lib/tty/color-slang.c SLsmg_set_color (color & 0x7F); color 71 lib/tty/color.c mc_color__deinit (tty_color_pair_t *color) color 73 lib/tty/color.c g_free (color->fg); color 74 lib/tty/color.c g_free (color->bg); color 75 lib/tty/color.c g_free (color->attrs); color 151 lib/tty/color.c tty_try_alloc_color_pair (const tty_color_pair_t *color, gboolean is_temp) color 158 lib/tty/color.c is_base = (color->fg == NULL || strcmp (color->fg, "base") == 0); color 159 lib/tty/color.c ifg = tty_color_get_index_by_name (is_base ? tty_color_defaults.fg : color->fg); color 160 lib/tty/color.c is_base = (color->bg == NULL || strcmp (color->bg, "base") == 0); color 161 lib/tty/color.c ibg = tty_color_get_index_by_name (is_base ? tty_color_defaults.bg : color->bg); color 162 lib/tty/color.c is_base = (color->attrs == NULL || strcmp (color->attrs, "base") == 0); color 163 lib/tty/color.c attr = tty_attr_get_bits (is_base ? tty_color_defaults.attrs : color->attrs); color 217 lib/tty/color.c tty_color_set_defaults (const tty_color_pair_t *color) color 221 lib/tty/color.c tty_color_defaults.fg = g_strdup (color->fg); color 222 lib/tty/color.c tty_color_defaults.bg = g_strdup (color->bg); color 223 lib/tty/color.c tty_color_defaults.attrs = g_strdup (color->attrs); color 44 lib/tty/color.h int tty_try_alloc_color_pair (const tty_color_pair_t *color, gboolean is_temp); color 49 lib/tty/color.h void tty_setcolor (int color); color 50 lib/tty/color.h void tty_lowlevel_setcolor (int color); color 53 lib/tty/color.h void tty_color_set_defaults (const tty_color_pair_t *color); color 45 lib/tty/tty-internal.h void tty_colorize_area (int y, int x, int rows, int cols, int color); color 558 lib/tty/tty-ncurses.c tty_colorize_area (int y, int x, int rows, int cols, int color) color 569 lib/tty/tty-ncurses.c tty_setcolor (color); color 579 lib/tty/tty-ncurses.c setcchar (&ctext[col], wch, attrs, color, NULL); color 591 lib/tty/tty-ncurses.c (void) color; color 629 lib/tty/tty-slang.c tty_colorize_area (int y, int x, int rows, int cols, int color) color 632 lib/tty/tty-slang.c SLsmg_set_color_in_region (color, y, x, rows, cols); color 56 lib/widget/background.c return &(CONST_BACKGROUND (w)->color); color 77 lib/widget/background.c tty_setcolor (b->color); color 108 lib/widget/background.c background_new (int y, int x, int lines, int cols, int color, unsigned char pattern, color 120 lib/widget/background.c b->color = color; color 22 lib/widget/background.h int color; // Color to fill area color 30 lib/widget/background.h WBackground *background_new (int y, int x, int lines, int cols, int color, unsigned char pattern, color 118 lib/widget/input.c tty_setcolor (disabled ? DISABLED_COLOR : in->color[WINPUTC_HISTORY]); color 965 lib/widget/input.c in->color = colors; color 1226 lib/widget/input.c tty_setcolor (in->color[WINPUTC_UNCHANGED]); color 1228 lib/widget/input.c tty_setcolor (in->color[WINPUTC_MAIN]); color 1243 lib/widget/input.c tty_setcolor (in->color[WINPUTC_MAIN]); color 1247 lib/widget/input.c tty_setcolor (in->color[WINPUTC_MARK]); color 1273 lib/widget/input.c tty_setcolor (in->color[WINPUTC_MAIN]); color 51 lib/widget/input.h const int *color; color 124 lib/widget/menu.c menubar_paint_idx (const WMenuBar *menubar, unsigned int idx, int color) color 151 lib/widget/menu.c tty_setcolor (color); color 160 lib/widget/menu.c tty_setcolor (color == MENU_SELECTED_COLOR ? MENU_HOTSEL_COLOR : MENU_HOT_COLOR); color 162 lib/widget/menu.c tty_setcolor (color); color 459 lib/widget/widget-common.c int color; color 465 lib/widget/widget-common.c color = DISABLED_COLOR; color 467 lib/widget/widget-common.c color = colors[focused ? DLG_COLOR_HOT_FOCUS : DLG_COLOR_HOT_NORMAL]; color 469 lib/widget/widget-common.c color = colors[focused ? DLG_COLOR_FOCUS : DLG_COLOR_NORMAL]; color 471 lib/widget/widget-common.c tty_setcolor (color); color 315 src/editor/bookmark.c book_mark_serialize (WEdit *edit, int color) color 329 src/editor/bookmark.c if (p->c == color && p->line >= 0) color 338 src/editor/bookmark.c book_mark_restore (WEdit *edit, int color) color 345 src/editor/bookmark.c book_mark_insert (edit, g_array_index (edit->serialized_bookmarks, size_t, i), color); color 225 src/editor/edit-impl.h void book_mark_serialize (WEdit *edit, int color); color 226 src/editor/edit-impl.h void book_mark_restore (WEdit *edit, int color); color 176 src/editor/editdraw.c edit_status_fullscreen (WEdit *edit, int color) color 216 src/editor/editdraw.c tty_setcolor (color); color 328 src/editor/editdraw.c edit_draw_frame (const WEdit *edit, int color, gboolean active) color 333 src/editor/editdraw.c tty_setcolor (color); color 354 src/editor/editdraw.c edit_draw_window_icons (const WEdit *edit, int color) color 359 src/editor/editdraw.c tty_setcolor (color); color 606 src/editor/editdraw.c int color; color 608 src/editor/editdraw.c color = edit_get_syntax_color (edit, q); color 609 src/editor/editdraw.c p->style |= color << 16; color 1003 src/editor/editdraw.c int color; color 1007 src/editor/editdraw.c color = STATUSBAR_COLOR; color 1008 src/editor/editdraw.c edit_status_fullscreen (edit, color); color 1012 src/editor/editdraw.c color = edit->drag_state != MCEDIT_DRAG_NONE ? EDITOR_FRAME_DRAG color 1015 src/editor/editdraw.c edit_draw_frame (edit, color, active); color 1019 src/editor/editdraw.c edit_draw_window_icons (edit, color); color 126 src/editor/syntax.c int color; color 678 src/editor/syntax.c return k->color; color 836 src/editor/syntax.c this_try_alloc_color_pair (tty_color_pair_t *color) color 840 src/editor/syntax.c if (color->bg != NULL && *color->bg == '\0') color 841 src/editor/syntax.c color->bg = NULL; color 842 src/editor/syntax.c if (color->fg != NULL && *color->fg == '\0') color 843 src/editor/syntax.c color->fg = NULL; color 844 src/editor/syntax.c if (color->attrs != NULL && *color->attrs == '\0') color 845 src/editor/syntax.c color->attrs = NULL; color 847 src/editor/syntax.c if (color->fg == NULL && color->bg == NULL) color 850 src/editor/syntax.c if (color->fg != NULL) color 852 src/editor/syntax.c g_strlcpy (f, color->fg, sizeof (f)); color 856 src/editor/syntax.c color->fg = f; color 858 src/editor/syntax.c if (color->bg != NULL) color 860 src/editor/syntax.c g_strlcpy (b, color->bg, sizeof (b)); color 864 src/editor/syntax.c color->bg = b; color 866 src/editor/syntax.c if (color->fg == NULL || color->bg == NULL) color 873 src/editor/syntax.c if (color->fg == NULL) color 881 src/editor/syntax.c color->fg = f; color 883 src/editor/syntax.c if (color->bg == NULL) color 890 src/editor/syntax.c color->bg = b; color 896 src/editor/syntax.c if (color->attrs != NULL) color 898 src/editor/syntax.c g_strlcpy (a, color->attrs, sizeof (a)); color 906 src/editor/syntax.c color->attrs = a; color 909 src/editor/syntax.c return tty_try_alloc_color_pair (color, TRUE); color 959 src/editor/syntax.c tty_color_pair_t color; color 1127 src/editor/syntax.c color.fg = *a; color 1130 src/editor/syntax.c color.bg = *a; color 1133 src/editor/syntax.c color.attrs = *a; color 1136 src/editor/syntax.c g_strlcpy (last_fg, color.fg != NULL ? color.fg : "", sizeof (last_fg)); color 1137 src/editor/syntax.c g_strlcpy (last_bg, color.bg != NULL ? color.bg : "", sizeof (last_bg)); color 1138 src/editor/syntax.c g_strlcpy (last_attrs, color.attrs != NULL ? color.attrs : "", sizeof (last_attrs)); color 1139 src/editor/syntax.c k->color = this_try_alloc_color_pair (&color); color 1191 src/editor/syntax.c color.fg = *a; color 1194 src/editor/syntax.c color.bg = *a; color 1197 src/editor/syntax.c color.attrs = *a; color 1200 src/editor/syntax.c if (color.fg == NULL) color 1201 src/editor/syntax.c color.fg = last_fg; color 1202 src/editor/syntax.c if (color.bg == NULL) color 1203 src/editor/syntax.c color.bg = last_bg; color 1204 src/editor/syntax.c if (color.attrs == NULL) color 1205 src/editor/syntax.c color.attrs = last_attrs; color 1206 src/editor/syntax.c k->color = this_try_alloc_color_pair (&color); color 288 src/filemanager/chattr.c int color = COLOR_NORMAL; color 291 src/filemanager/chattr.c tty_setcolor (color); color 311 src/filemanager/chattr.c if (color == DISABLED_COLOR) color 313 src/filemanager/chattr.c color = COLOR_NORMAL; color 314 src/filemanager/chattr.c tty_setcolor (color); color 319 src/filemanager/chattr.c if (color != DISABLED_COLOR) color 321 src/filemanager/chattr.c color = DISABLED_COLOR; color 322 src/filemanager/chattr.c tty_setcolor (color); color 307 src/filemanager/panel.c add_permission_string (const char *dest, int width, file_entry_t *fe, file_attr_t attr, int color, color 336 src/filemanager/panel.c else if (color >= 0) color 337 src/filemanager/panel.c tty_setcolor (color); color 339 src/filemanager/panel.c tty_lowlevel_setcolor (-color); color 689 src/filemanager/panel.c int color = NORMAL_COLOR; color 700 src/filemanager/panel.c color = file_compute_color (attr, fe); color 755 src/filemanager/panel.c if (color >= 0) color 756 src/filemanager/panel.c tty_setcolor (color); color 758 src/filemanager/panel.c tty_lowlevel_setcolor (-color); color 766 src/filemanager/panel.c add_permission_string (prepared_text, fi->field_len, fe, attr, color, perm != 1); color 357 src/viewer/ascii.c mcview_get_next_maybe_nroff_char (WView *view, mcview_state_machine_t *state, int *c, int *color) color 362 src/viewer/ascii.c if (color != NULL) color 363 src/viewer/ascii.c *color = VIEW_NORMAL_COLOR; color 389 src/viewer/ascii.c if (color != NULL) color 390 src/viewer/ascii.c *color = color 397 src/viewer/ascii.c if (color != NULL) color 398 src/viewer/ascii.c *color = VIEW_BOLD_COLOR; color 405 src/viewer/ascii.c if (color != NULL) color 406 src/viewer/ascii.c *color = VIEW_UNDERLINED_COLOR; color 441 src/viewer/ascii.c int *color) color 445 src/viewer/ascii.c if (!mcview_get_next_maybe_nroff_char (view, state, cs, color)) color 571 src/viewer/ascii.c int color; color 574 src/viewer/ascii.c n = mcview_next_combining_char_sequence (view, state, cs, 1 + MAX_COMBINING_CHARS, &color); color 583 src/viewer/ascii.c color = VIEW_SELECTED_COLOR; color 640 src/viewer/ascii.c tty_setcolor (color); color 665 src/viewer/ascii.c tty_setcolor (color); color 679 src/viewer/ascii.c tty_setcolor (color);