Searched refs:INVALCOLOR (Results 1 – 19 of 19) sorted by relevance
2202 return INVALCOLOR; in color_name2handle()2278 return INVALCOLOR; in decode_hex_color()2285 return INVALCOLOR; in decode_hex_color()2305 return INVALCOLOR; in colorname2rgb()2310 return INVALCOLOR; in colorname2rgb()2322 return INVALCOLOR; in colorname2rgb()2332 return INVALCOLOR; in colorname2rgb()2397 if (color != INVALCOLOR) in gui_get_color_cmn()2419 return INVALCOLOR; in gui_get_color_cmn()2429 return INVALCOLOR; in gui_get_rgb_color_cmn()[all …]
1202 cfg = INVALCOLOR; in gui_update_cursor()1203 cbg = INVALCOLOR; in gui_update_cursor()1212 if (shape_bg != INVALCOLOR) in gui_update_cursor()1240 if (bg != INVALCOLOR) in gui_update_cursor()1242 if (fg != INVALCOLOR) in gui_update_cursor()1260 if (cfg == INVALCOLOR) in gui_update_cursor()1263 if (cbg == INVALCOLOR) in gui_update_cursor()1267 if (cfg == INVALCOLOR) in gui_update_cursor()1269 if (cbg == INVALCOLOR) in gui_update_cursor()4780 return INVALCOLOR; in gui_get_color()[all …]
1848 ? aep->ae_u.cterm.fg_rgb != INVALCOLOR in screen_start_highlight()1882 if (aep->ae_u.cterm.fg_rgb != INVALCOLOR) in screen_start_highlight()1895 if (aep->ae_u.cterm.bg_rgb != INVALCOLOR) in screen_start_highlight()1908 if (aep->ae_u.cterm.ul_rgb != INVALCOLOR) in screen_start_highlight()1968 ? aep->ae_u.cterm.fg_rgb != INVALCOLOR in screen_stop_highlight()1977 ? aep->ae_u.cterm.bg_rgb != INVALCOLOR in screen_stop_highlight()2069 if (cterm_normal_fg_gui_color != INVALCOLOR) in screen_stop_highlight()2071 if (cterm_normal_bg_gui_color != INVALCOLOR) in screen_stop_highlight()2073 if (cterm_normal_ul_gui_color != INVALCOLOR) in screen_stop_highlight()2108 if (p_tgc ? (cterm_normal_fg_gui_color != INVALCOLOR in reset_cterm_colors()[all …]
257 if (gui.menu_fg_pixel != INVALCOLOR) in gui_x11_create_widgets()1434 if (gui.menu_fg_pixel != INVALCOLOR) in gui_mch_new_menu_colors()2274 if (gui.menu_bg_pixel != INVALCOLOR) in gui_athena_menu_colors()2276 if (gui.menu_fg_pixel != INVALCOLOR) in gui_athena_menu_colors()2287 if (gui.scroll_bg_pixel != INVALCOLOR) in gui_athena_scroll_colors()2289 if (gui.scroll_fg_pixel != INVALCOLOR) in gui_athena_scroll_colors()
133 static guicolor_T prev_fg_color = INVALCOLOR;134 static guicolor_T prev_bg_color = INVALCOLOR;135 static guicolor_T prev_sp_color = INVALCOLOR;2207 return INVALCOLOR; in gui_mch_get_color()2210 if (requested == INVALCOLOR) in gui_mch_get_color()2211 return INVALCOLOR; in gui_mch_get_color()2246 return INVALCOLOR; in gui_mch_get_rgb_color()
918 if (gui.menu_bg_pixel != INVALCOLOR) in gui_mch_add_menu()922 if (gui.menu_fg_pixel != INVALCOLOR) in gui_mch_add_menu()1889 if (gui.scroll_bg_pixel != INVALCOLOR) in gui_mch_set_scrollbar_colors()1900 if (gui.scroll_fg_pixel != INVALCOLOR) in gui_mch_set_scrollbar_colors()2318 if (gui.scroll_bg_pixel != INVALCOLOR) in gui_mch_browse()3376 if (gui.menu_bg_pixel != INVALCOLOR) in gui_motif_menu_colors()3382 if (gui.menu_fg_pixel != INVALCOLOR) in gui_motif_menu_colors()3392 if (gui.scroll_bg_pixel != INVALCOLOR) in gui_motif_scroll_colors()3398 if (gui.scroll_fg_pixel != INVALCOLOR) in gui_motif_scroll_colors()
517 EXTERN guicolor_T cterm_normal_fg_gui_color INIT(= INVALCOLOR);518 EXTERN guicolor_T cterm_normal_bg_gui_color INIT(= INVALCOLOR);519 EXTERN guicolor_T cterm_normal_ul_gui_color INIT(= INVALCOLOR);1082 EXTERN guicolor_T xim_fg_color INIT(= INVALCOLOR);1083 EXTERN guicolor_T xim_bg_color INIT(= INVALCOLOR);
801 pixel = (aep != NULL) ? aep->ae_u.gui.fg_color : INVALCOLOR; in set_printable_label_text()802 if (pixel != INVALCOLOR) in set_printable_label_text()855 if (pixel != INVALCOLOR) in set_printable_label_text()
1681 ? ((pixel) != INVALCOLOR \1683 : INVALCOLOR) \1688 # define GUI_FUNCTION2(f,pixel) ((pixel) != INVALCOLOR \1690 : INVALCOLOR)
2346 guicolor_T term_fg = INVALCOLOR; in term_get_cursor_shape()2347 guicolor_T term_bg = INVALCOLOR; in term_get_cursor_shape()2366 if (term_bg != INVALCOLOR) in term_get_cursor_shape()2373 if (term_fg != INVALCOLOR) in term_get_cursor_shape()2908 ? INVALCOLOR in cell2attr()2911 ? INVALCOLOR in cell2attr()3924 guicolor_T fg_rgb = INVALCOLOR; in get_vterm_color_from_synid()3925 guicolor_T bg_rgb = INVALCOLOR; in get_vterm_color_from_synid()3930 if (fg_rgb != INVALCOLOR) in get_vterm_color_from_synid()3941 if (bg_rgb != INVALCOLOR) in get_vterm_color_from_synid()[all …]
201 #define INVALCOLOR (guicolor_T)-11111 // number for invalid color; on 32 bit macro
4170 guicolor_T fg_pixel = INVALCOLOR; in gui_mch_open()4171 guicolor_T bg_pixel = INVALCOLOR; in gui_mch_open()4268 if (fg_pixel == INVALCOLOR) in gui_mch_open()4273 if (bg_pixel == INVALCOLOR) in gui_mch_open()5104 guicolor_T color = INVALCOLOR; in gui_mch_get_color()5115 if (color == INVALCOLOR) in gui_mch_get_color()5116 return INVALCOLOR; in gui_mch_get_color()5145 return ret != 0 ? (guicolor_T)gcolor.pixel : INVALCOLOR; in gui_mch_get_rgb_color()
6163 cterm_normal_fg_gui_color = INVALCOLOR; in mch_set_normal_colors()6164 cterm_normal_bg_gui_color = INVALCOLOR; in mch_set_normal_colors()8198 guicolor_T guifg = INVALCOLOR; in get_default_console_color()8199 guicolor_T guibg = INVALCOLOR; in get_default_console_color()8206 if (guifg == INVALCOLOR) in get_default_console_color()8216 if (guibg == INVALCOLOR) in get_default_console_color()
120 # define INVALCOLOR ((guicolor_T)0x1ffffff) macro124 #define COLOR_INVALID(x) ((x) == INVALCOLOR || (x) == CTERMCOLOR)
1260 if (xim_fg_color == INVALCOLOR) in xim_set_preedit()
567 if (guicolor == INVALCOLOR) in get_job_options()
1352 return INVALCOLOR; in termgui_get_color()1355 if (t == INVALCOLOR) in termgui_get_color()
6136 static guicolor_T brush_color[2] = {INVALCOLOR, INVALCOLOR}; in gui_mch_draw_string()
11203 Solution: Check for INVALCOLOR. (Kazunobu Kuriyama)15492 Solution: Initialize to INVALCOLOR instead of zero. (Ben Jackson, closes46674 Solution: Use zero instead of INVALCOLOR.