color             241 lib/tty/color-internal.c convert_256color_to_truecolor (int color)
color             246 lib/tty/color-internal.c     if (color > 255)
color             249 lib/tty/color-internal.c     if (color >= 232)  // Gray scale
color             250 lib/tty/color-internal.c         r = g = b = (color - 231) * 10 + 8;
color             251 lib/tty/color-internal.c     else if (color >= 16)  // 6x6x6 color cube
color             253 lib/tty/color-internal.c         color -= 16;
color             255 lib/tty/color-internal.c         r = (color / (6 * 6) % 6);
color             258 lib/tty/color-internal.c         g = (color / 6 % 6);
color             261 lib/tty/color-internal.c         b = (color % 6);
color             265 lib/tty/color-internal.c         return color;
color             267 lib/tty/color-internal.c     color = FLAG_TRUECOLOR | (r << 16) | (g << 8) | b;
color             269 lib/tty/color-internal.c     return color;
color             275 lib/tty/color-internal.c tty_maybe_map_color (int color)
color             277 lib/tty/color-internal.c     if (color >= TTY_COLOR_MAP_OFFSET)
color             278 lib/tty/color-internal.c         return tty_color_role_to_pair[color - TTY_COLOR_MAP_OFFSET];
color             279 lib/tty/color-internal.c     return color;
color              49 lib/tty/color-internal.h int convert_256color_to_truecolor (int color);
color              56 lib/tty/color-internal.h int tty_maybe_map_color (int color);
color             193 lib/tty/color-ncurses.c tty_setcolor (int color)
color             195 lib/tty/color-ncurses.c     color = tty_maybe_map_color (color);
color             196 lib/tty/color-ncurses.c     attr_set (color_get_attr (color), color, NULL);
color             158 lib/tty/color-slang.c tty_setcolor (int color)
color             160 lib/tty/color-slang.c     color = tty_maybe_map_color (color);
color             161 lib/tty/color-slang.c     SLsmg_set_color (color);
color             143 lib/tty/color.c tty_try_alloc_color_pair (const tty_color_pair_t *color, gboolean is_temp)
color             149 lib/tty/color.c     ifg = tty_color_get_index_by_name (color->fg);
color             150 lib/tty/color.c     ibg = tty_color_get_index_by_name (color->bg);
color             151 lib/tty/color.c     attr = tty_attr_get_bits (color->attrs);
color              64 lib/tty/color.h int tty_try_alloc_color_pair (const tty_color_pair_t *color, gboolean is_temp);
color              69 lib/tty/color.h void tty_setcolor (int color);
color              45 lib/tty/tty-internal.h void tty_colorize_area (int y, int x, int rows, int cols, int color);
color             596 lib/tty/tty-ncurses.c tty_colorize_area (int y, int x, int rows, int cols, int color)
color             607 lib/tty/tty-ncurses.c     color = tty_maybe_map_color (color);
color             608 lib/tty/tty-ncurses.c     tty_setcolor (color);
color             618 lib/tty/tty-ncurses.c             setcchar (&ctext[col], wch, attrs, color, NULL);
color             630 lib/tty/tty-ncurses.c     (void) color;
color             566 lib/tty/tty-slang.c tty_colorize_area (int y, int x, int rows, int cols, int color)
color             570 lib/tty/tty-slang.c         color = tty_maybe_map_color (color);
color             571 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             123 lib/widget/input.c     tty_setcolor (disabled ? CORE_DISABLED_COLOR : in->color[INPUT_COLOR_HISTORY]);
color             973 lib/widget/input.c     in->color = colors;
color            1223 lib/widget/input.c         tty_setcolor (in->color[INPUT_COLOR_UNCHANGED]);
color            1225 lib/widget/input.c         tty_setcolor (in->color[INPUT_COLOR_MAIN]);
color            1240 lib/widget/input.c                 tty_setcolor (in->color[INPUT_COLOR_MAIN]);
color            1244 lib/widget/input.c                 tty_setcolor (in->color[INPUT_COLOR_MARK]);
color            1270 lib/widget/input.c         tty_setcolor (in->color[INPUT_COLOR_MAIN]);
color              51 lib/widget/input.h     const int *color;
color              82 lib/widget/label.c         if (l->color != NULL)
color              83 lib/widget/label.c             tty_setcolor (l->color[disabled ? LABEL_COLOR_DISABLED : LABEL_COLOR_MAIN]);
color             151 lib/widget/label.c     l->color = NULL;
color              31 lib/widget/label.h     const int *color;  // NULL to inherit from parent widget
color             126 lib/widget/menu.c menubar_paint_idx (const WMenuBar *menubar, unsigned int idx, int color)
color             153 lib/widget/menu.c         tty_setcolor (color);
color             162 lib/widget/menu.c             tty_setcolor (color == MENU_SELECTED_COLOR ? MENU_HOTSEL_COLOR : MENU_HOT_COLOR);
color             164 lib/widget/menu.c             tty_setcolor (color);
color             459 lib/widget/widget-common.c     int color;
color             465 lib/widget/widget-common.c         color = CORE_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             198 src/editor/editdraw.c edit_status_fullscreen (WEdit *edit, int color)
color             238 src/editor/editdraw.c     tty_setcolor (color);
color             334 src/editor/editdraw.c edit_draw_frame (const WEdit *edit, int color, gboolean active)
color             339 src/editor/editdraw.c     tty_setcolor (color);
color             360 src/editor/editdraw.c edit_draw_window_icons (const WEdit *edit, int color)
color             365 src/editor/editdraw.c     tty_setcolor (color);
color             611 src/editor/editdraw.c                     int color;
color             613 src/editor/editdraw.c                     color = edit_get_syntax_color (edit, q);
color             614 src/editor/editdraw.c                     p->style |= color << 16;
color             993 src/editor/editdraw.c     int color;
color             997 src/editor/editdraw.c         color = STATUSBAR_COLOR;
color             998 src/editor/editdraw.c         edit_status_fullscreen (edit, color);
color            1002 src/editor/editdraw.c         color = edit->drag_state != MCEDIT_DRAG_NONE ? EDITOR_FRAME_DRAG_COLOR
color            1005 src/editor/editdraw.c         edit_draw_frame (edit, color, active);
color            1009 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             287 src/filemanager/chattr.c         int color = DIALOG_NORMAL_COLOR;
color             290 src/filemanager/chattr.c         tty_setcolor (color);
color             310 src/filemanager/chattr.c                 if (color == CORE_DISABLED_COLOR)
color             312 src/filemanager/chattr.c                     color = DIALOG_NORMAL_COLOR;
color             313 src/filemanager/chattr.c                     tty_setcolor (color);
color             318 src/filemanager/chattr.c                 if (color != CORE_DISABLED_COLOR)
color             320 src/filemanager/chattr.c                     color = CORE_DISABLED_COLOR;
color             321 src/filemanager/chattr.c                     tty_setcolor (color);
color             894 src/filemanager/filemanager.c     the_hint->color = hintbar_colors;
color             903 src/filemanager/filemanager.c     the_prompt->color = prompt_colors;
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             337 src/filemanager/panel.c             tty_setcolor (color);
color             687 src/filemanager/panel.c     int color = CORE_NORMAL_COLOR;
color             698 src/filemanager/panel.c         color = file_compute_color (attr, fe);
color             753 src/filemanager/panel.c             tty_setcolor (color);
color             761 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             363 src/viewer/ascii.c     if (color != NULL)
color             364 src/viewer/ascii.c         *color = VIEWER_NORMAL_COLOR;
color             395 src/viewer/ascii.c         if (color != NULL)
color             396 src/viewer/ascii.c             *color = VIEWER_BOLD_UNDERLINED_COLOR;
color             401 src/viewer/ascii.c         if (color != NULL)
color             402 src/viewer/ascii.c             *color =
color             409 src/viewer/ascii.c         if (color != NULL)
color             410 src/viewer/ascii.c             *color = VIEWER_BOLD_COLOR;
color             417 src/viewer/ascii.c         if (color != NULL)
color             418 src/viewer/ascii.c             *color = VIEWER_UNDERLINED_COLOR;
color             453 src/viewer/ascii.c                                      int *color)
color             457 src/viewer/ascii.c     if (!mcview_get_next_maybe_nroff_char (view, state, cs, color))
color             583 src/viewer/ascii.c         int color;
color             586 src/viewer/ascii.c         n = mcview_next_combining_char_sequence (view, state, cs, 1 + MAX_COMBINING_CHARS, &color);
color             595 src/viewer/ascii.c             color = VIEWER_SELECTED_COLOR;
color             652 src/viewer/ascii.c                 tty_setcolor (color);
color             677 src/viewer/ascii.c                 tty_setcolor (color);
color             691 src/viewer/ascii.c                 tty_setcolor (color);