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 562 lib/tty/tty-ncurses.c tty_colorize_area (int y, int x, int rows, int cols, int color) color 573 lib/tty/tty-ncurses.c tty_setcolor (color); color 583 lib/tty/tty-ncurses.c setcchar (&ctext[col], wch, attrs, color, NULL); color 595 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 184 src/editor/editdraw.c edit_status_fullscreen (WEdit *edit, int color) color 224 src/editor/editdraw.c tty_setcolor (color); color 338 src/editor/editdraw.c edit_draw_frame (const WEdit *edit, int color, gboolean active) color 343 src/editor/editdraw.c tty_setcolor (color); color 364 src/editor/editdraw.c edit_draw_window_icons (const WEdit *edit, int color) color 369 src/editor/editdraw.c tty_setcolor (color); color 618 src/editor/editdraw.c int color; color 620 src/editor/editdraw.c color = edit_get_syntax_color (edit, q); color 621 src/editor/editdraw.c p->style |= color << 16; color 1019 src/editor/editdraw.c int color; color 1023 src/editor/editdraw.c color = STATUSBAR_COLOR; color 1024 src/editor/editdraw.c edit_status_fullscreen (edit, color); color 1028 src/editor/editdraw.c color = edit->drag_state != MCEDIT_DRAG_NONE ? EDITOR_FRAME_DRAG color 1031 src/editor/editdraw.c edit_draw_frame (edit, color, active); color 1035 src/editor/editdraw.c edit_draw_window_icons (edit, color); color 124 src/editor/syntax.c int color; color 676 src/editor/syntax.c return k->color; color 834 src/editor/syntax.c this_try_alloc_color_pair (tty_color_pair_t *color) color 838 src/editor/syntax.c if (color->bg != NULL && *color->bg == '\0') color 839 src/editor/syntax.c color->bg = NULL; color 840 src/editor/syntax.c if (color->fg != NULL && *color->fg == '\0') color 841 src/editor/syntax.c color->fg = NULL; color 842 src/editor/syntax.c if (color->attrs != NULL && *color->attrs == '\0') color 843 src/editor/syntax.c color->attrs = NULL; color 845 src/editor/syntax.c if (color->fg == NULL && color->bg == NULL) color 848 src/editor/syntax.c if (color->fg != NULL) color 850 src/editor/syntax.c g_strlcpy (f, color->fg, sizeof (f)); color 854 src/editor/syntax.c color->fg = f; color 856 src/editor/syntax.c if (color->bg != NULL) color 858 src/editor/syntax.c g_strlcpy (b, color->bg, sizeof (b)); color 862 src/editor/syntax.c color->bg = b; color 864 src/editor/syntax.c if (color->fg == NULL || color->bg == NULL) color 871 src/editor/syntax.c if (color->fg == NULL) color 879 src/editor/syntax.c color->fg = f; color 881 src/editor/syntax.c if (color->bg == NULL) color 888 src/editor/syntax.c color->bg = b; color 894 src/editor/syntax.c if (color->attrs != NULL) color 896 src/editor/syntax.c g_strlcpy (a, color->attrs, sizeof (a)); color 904 src/editor/syntax.c color->attrs = a; color 907 src/editor/syntax.c return tty_try_alloc_color_pair (color, TRUE); color 957 src/editor/syntax.c tty_color_pair_t color; color 1123 src/editor/syntax.c color.fg = *a; color 1126 src/editor/syntax.c color.bg = *a; color 1129 src/editor/syntax.c color.attrs = *a; color 1132 src/editor/syntax.c g_strlcpy (last_fg, color.fg != NULL ? color.fg : "", sizeof (last_fg)); color 1133 src/editor/syntax.c g_strlcpy (last_bg, color.bg != NULL ? color.bg : "", sizeof (last_bg)); color 1134 src/editor/syntax.c g_strlcpy (last_attrs, color.attrs != NULL ? color.attrs : "", sizeof (last_attrs)); color 1135 src/editor/syntax.c k->color = this_try_alloc_color_pair (&color); color 1187 src/editor/syntax.c color.fg = *a; color 1190 src/editor/syntax.c color.bg = *a; color 1193 src/editor/syntax.c color.attrs = *a; color 1196 src/editor/syntax.c if (color.fg == NULL) color 1197 src/editor/syntax.c color.fg = last_fg; color 1198 src/editor/syntax.c if (color.bg == NULL) color 1199 src/editor/syntax.c color.bg = last_bg; color 1200 src/editor/syntax.c if (color.attrs == NULL) color 1201 src/editor/syntax.c color.attrs = last_attrs; color 1202 src/editor/syntax.c k->color = this_try_alloc_color_pair (&color); color 287 src/filemanager/chattr.c int color = COLOR_NORMAL; color 290 src/filemanager/chattr.c tty_setcolor (color); color 310 src/filemanager/chattr.c if (color == DISABLED_COLOR) color 312 src/filemanager/chattr.c color = COLOR_NORMAL; color 313 src/filemanager/chattr.c tty_setcolor (color); color 318 src/filemanager/chattr.c if (color != DISABLED_COLOR) color 320 src/filemanager/chattr.c color = DISABLED_COLOR; color 321 src/filemanager/chattr.c tty_setcolor (color); color 310 src/filemanager/panel.c add_permission_string (const char *dest, int width, file_entry_t *fe, file_attr_t attr, int color, color 339 src/filemanager/panel.c else if (color >= 0) color 340 src/filemanager/panel.c tty_setcolor (color); color 342 src/filemanager/panel.c tty_lowlevel_setcolor (-color); color 691 src/filemanager/panel.c int color = NORMAL_COLOR; color 702 src/filemanager/panel.c color = file_compute_color (attr, fe); color 759 src/filemanager/panel.c if (color >= 0) color 760 src/filemanager/panel.c tty_setcolor (color); color 762 src/filemanager/panel.c tty_lowlevel_setcolor (-color); color 770 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 *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 676 src/viewer/ascii.c tty_setcolor (color); color 701 src/viewer/ascii.c tty_setcolor (color); color 715 src/viewer/ascii.c tty_setcolor (color);