color 210 lib/tty/color-ncurses.c tty_setcolor (int color) color 212 lib/tty/color-ncurses.c attrset (COLOR_PAIR (color) | color_get_attr (color)); color 218 lib/tty/color-ncurses.c tty_lowlevel_setcolor (int color) color 220 lib/tty/color-ncurses.c tty_setcolor (color); color 189 lib/tty/color-slang.c tty_setcolor (int color) color 191 lib/tty/color-slang.c SLsmg_set_color (color); color 200 lib/tty/color-slang.c tty_lowlevel_setcolor (int color) color 202 lib/tty/color-slang.c SLsmg_set_color (color & 0x7F); color 77 lib/tty/color.c mc_color__deinit (tty_color_pair_t *color) color 79 lib/tty/color.c g_free (color->fg); color 80 lib/tty/color.c g_free (color->bg); color 81 lib/tty/color.c g_free (color->attrs); color 156 lib/tty/color.c tty_try_alloc_color_pair (const tty_color_pair_t *color, gboolean is_temp) color 163 lib/tty/color.c is_base = (color->fg == NULL || strcmp (color->fg, "base") == 0); color 164 lib/tty/color.c ifg = tty_color_get_index_by_name (is_base ? tty_color_defaults.fg : color->fg); color 165 lib/tty/color.c is_base = (color->bg == NULL || strcmp (color->bg, "base") == 0); color 166 lib/tty/color.c ibg = tty_color_get_index_by_name (is_base ? tty_color_defaults.bg : color->bg); color 167 lib/tty/color.c is_base = (color->attrs == NULL || strcmp (color->attrs, "base") == 0); color 168 lib/tty/color.c attr = tty_attr_get_bits (is_base ? tty_color_defaults.attrs : color->attrs); color 223 lib/tty/color.c tty_color_set_defaults (const tty_color_pair_t *color) color 227 lib/tty/color.c tty_color_defaults.fg = g_strdup (color->fg); color 228 lib/tty/color.c tty_color_defaults.bg = g_strdup (color->bg); color 229 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 563 lib/tty/tty-ncurses.c tty_colorize_area (int y, int x, int rows, int cols, int color) color 574 lib/tty/tty-ncurses.c tty_setcolor (color); color 584 lib/tty/tty-ncurses.c setcchar (&ctext[col], wch, attrs, color, NULL); color 596 lib/tty/tty-ncurses.c (void) color; color 627 lib/tty/tty-slang.c tty_colorize_area (int y, int x, int rows, int cols, int color) color 630 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 462 lib/widget/widget-common.c int color; color 468 lib/widget/widget-common.c color = DISABLED_COLOR; color 470 lib/widget/widget-common.c color = colors[focused ? DLG_COLOR_HOT_FOCUS : DLG_COLOR_HOT_NORMAL]; color 472 lib/widget/widget-common.c color = colors[focused ? DLG_COLOR_FOCUS : DLG_COLOR_NORMAL]; color 474 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 243 src/editor/edit-impl.h void book_mark_serialize (WEdit * edit, int color); color 244 src/editor/edit-impl.h void book_mark_restore (WEdit * edit, int color); color 182 src/editor/editdraw.c edit_status_fullscreen (WEdit *edit, int color) color 222 src/editor/editdraw.c tty_setcolor (color); color 337 src/editor/editdraw.c edit_draw_frame (const WEdit *edit, int color, gboolean active) color 342 src/editor/editdraw.c tty_setcolor (color); color 363 src/editor/editdraw.c edit_draw_window_icons (const WEdit *edit, int color) color 368 src/editor/editdraw.c tty_setcolor (color); color 617 src/editor/editdraw.c int color; color 619 src/editor/editdraw.c color = edit_get_syntax_color (edit, q); color 620 src/editor/editdraw.c p->style |= color << 16; color 1018 src/editor/editdraw.c int color; color 1022 src/editor/editdraw.c color = STATUSBAR_COLOR; color 1023 src/editor/editdraw.c edit_status_fullscreen (edit, color); color 1027 src/editor/editdraw.c color = edit->drag_state != MCEDIT_DRAG_NONE ? EDITOR_FRAME_DRAG : active ? color 1029 src/editor/editdraw.c edit_draw_frame (edit, color, active); color 1033 src/editor/editdraw.c edit_draw_window_icons (edit, color); color 106 src/editor/syntax.c int color; color 657 src/editor/syntax.c return k->color; color 815 src/editor/syntax.c this_try_alloc_color_pair (tty_color_pair_t *color) color 819 src/editor/syntax.c if (color->bg != NULL && *color->bg == '\0') color 820 src/editor/syntax.c color->bg = NULL; color 821 src/editor/syntax.c if (color->fg != NULL && *color->fg == '\0') color 822 src/editor/syntax.c color->fg = NULL; color 823 src/editor/syntax.c if (color->attrs != NULL && *color->attrs == '\0') color 824 src/editor/syntax.c color->attrs = NULL; color 826 src/editor/syntax.c if (color->fg == NULL && color->bg == NULL) color 829 src/editor/syntax.c if (color->fg != NULL) color 831 src/editor/syntax.c g_strlcpy (f, color->fg, sizeof (f)); color 835 src/editor/syntax.c color->fg = f; color 837 src/editor/syntax.c if (color->bg != NULL) color 839 src/editor/syntax.c g_strlcpy (b, color->bg, sizeof (b)); color 843 src/editor/syntax.c color->bg = b; color 845 src/editor/syntax.c if (color->fg == NULL || color->bg == NULL) color 852 src/editor/syntax.c if (color->fg == NULL) color 860 src/editor/syntax.c color->fg = f; color 862 src/editor/syntax.c if (color->bg == NULL) color 869 src/editor/syntax.c color->bg = b; color 875 src/editor/syntax.c if (color->attrs != NULL) color 877 src/editor/syntax.c g_strlcpy (a, color->attrs, sizeof (a)); color 885 src/editor/syntax.c color->attrs = a; color 888 src/editor/syntax.c return tty_try_alloc_color_pair (color, TRUE); color 938 src/editor/syntax.c tty_color_pair_t color; color 1104 src/editor/syntax.c color.fg = *a; color 1107 src/editor/syntax.c color.bg = *a; color 1110 src/editor/syntax.c color.attrs = *a; color 1113 src/editor/syntax.c g_strlcpy (last_fg, color.fg != NULL ? color.fg : "", sizeof (last_fg)); color 1114 src/editor/syntax.c g_strlcpy (last_bg, color.bg != NULL ? color.bg : "", sizeof (last_bg)); color 1115 src/editor/syntax.c g_strlcpy (last_attrs, color.attrs != NULL ? color.attrs : "", sizeof (last_attrs)); color 1116 src/editor/syntax.c k->color = this_try_alloc_color_pair (&color); color 1168 src/editor/syntax.c color.fg = *a; color 1171 src/editor/syntax.c color.bg = *a; color 1174 src/editor/syntax.c color.attrs = *a; color 1177 src/editor/syntax.c if (color.fg == NULL) color 1178 src/editor/syntax.c color.fg = last_fg; color 1179 src/editor/syntax.c if (color.bg == NULL) color 1180 src/editor/syntax.c color.bg = last_bg; color 1181 src/editor/syntax.c if (color.attrs == NULL) color 1182 src/editor/syntax.c color.attrs = last_attrs; color 1183 src/editor/syntax.c k->color = this_try_alloc_color_pair (&color); color 291 src/filemanager/chattr.c int color = COLOR_NORMAL; color 294 src/filemanager/chattr.c tty_setcolor (color); color 314 src/filemanager/chattr.c if (color == DISABLED_COLOR) color 316 src/filemanager/chattr.c color = COLOR_NORMAL; color 317 src/filemanager/chattr.c tty_setcolor (color); color 322 src/filemanager/chattr.c if (color != DISABLED_COLOR) color 324 src/filemanager/chattr.c color = DISABLED_COLOR; color 325 src/filemanager/chattr.c tty_setcolor (color); color 451 src/filemanager/panel.c add_permission_string (const char *dest, int width, file_entry_t *fe, file_attr_t attr, int color, color 480 src/filemanager/panel.c else if (color >= 0) color 481 src/filemanager/panel.c tty_setcolor (color); color 483 src/filemanager/panel.c tty_lowlevel_setcolor (-color); color 832 src/filemanager/panel.c int color = NORMAL_COLOR; color 843 src/filemanager/panel.c color = file_compute_color (attr, fe); color 900 src/filemanager/panel.c if (color >= 0) color 901 src/filemanager/panel.c tty_setcolor (color); color 903 src/filemanager/panel.c tty_lowlevel_setcolor (-color); color 911 src/filemanager/panel.c add_permission_string (prepared_text, fi->field_len, fe, attr, color, perm != 1); color 393 src/viewer/ascii.c mcview_get_next_maybe_nroff_char (WView *view, mcview_state_machine_t *state, int *c, int *color) color 398 src/viewer/ascii.c if (color != NULL) color 399 src/viewer/ascii.c *color = VIEW_NORMAL_COLOR; color 425 src/viewer/ascii.c if (color != NULL) color 426 src/viewer/ascii.c *color = color 433 src/viewer/ascii.c if (color != NULL) color 434 src/viewer/ascii.c *color = VIEW_BOLD_COLOR; color 441 src/viewer/ascii.c if (color != NULL) color 442 src/viewer/ascii.c *color = VIEW_UNDERLINED_COLOR; color 477 src/viewer/ascii.c int clen, int *color) color 481 src/viewer/ascii.c if (!mcview_get_next_maybe_nroff_char (view, state, cs, color)) color 607 src/viewer/ascii.c int color; color 610 src/viewer/ascii.c n = mcview_next_combining_char_sequence (view, state, cs, 1 + MAX_COMBINING_CHARS, &color); color 619 src/viewer/ascii.c color = VIEW_SELECTED_COLOR; color 675 src/viewer/ascii.c tty_setcolor (color); color 700 src/viewer/ascii.c tty_setcolor (color); color 714 src/viewer/ascii.c tty_setcolor (color);