/osnet-11/usr/src/lib/libcurses/screen/ |
H A D | color_cont.c | 48 color_content(short color, short *r, short *g, short *b) argument 52 if (color < 0 || color > COLORS || !can_change || 56 ctp += color;
|
H A D | init_color.c | 53 init_color(short color, short r, short g, short b) argument 55 _Color *ctp = cur_term->_color_tbl; /* color table pointer */ 57 /* check if terminal can change color and validity of the */ 60 if (!can_change || color >= COLORS || color < 0) 76 /* if new color is exactly the same as the old one, return */ 78 if (ctp[color].r == r && ctp[color].g == g && ctp[color].b == b) 81 /* update color tabl [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/commands/ |
H A D | videotest.c | 38 grub_video_color_t color; local 82 color = grub_video_map_rgb (0, 255, 255); 91 grub_font_draw_glyph (glyph, color, 200 ,0); 93 color = grub_video_map_rgb (255, 255, 255); 97 sans, color, 16, texty); 102 fixed, color, 16, texty); 126 color = grub_video_map_rgb (128, 128, 255); 130 grub_font_draw_string (str, fixed, color, 16, texty); 134 grub_font_draw_string (str, sansbig, color, 16, texty); 138 grub_font_draw_string (str, sans, color, 1 [all...] |
/osnet-11/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | color.c | 30 * color.c 40 static char rcsID[] = "$Header: /rd/src/libc/xcurses/rcs/color.c 1.2 1995/10/02 15:15:02 ant Exp $"; 86 init_color(short color, short r, short g, short b) argument 91 __m_trace("init_color(%d, %d, %d, %d)", color, r, g, b); 94 if (!can_change || color < 0 || max_colors <= color 100 /* Remember color settings for future queries. */ 101 cur_term->_color[color][0] = r; 102 cur_term->_color[color][1] = g; 103 cur_term->_color[color][ 161 color_content(short color, short *r, short *g, short *b) argument [all...] |
/osnet-11/usr/src/grub/grub2/include/grub/ |
H A D | fbfill.h | 52 grub_video_color_t color, int x, int y, 57 grub_video_color_t color, int x, int y, 62 grub_video_color_t color, int x, int y, 67 grub_video_color_t color, int x, int y, 72 grub_video_color_t color, int x, int y,
|
H A D | fbutil.h | 50 unsigned int x, unsigned int y, grub_video_color_t color);
|
H A D | video_fb.h | 70 grub_video_fb_unmap_color (grub_video_color_t color, 76 grub_video_color_t color, 81 grub_video_fb_fill_rect (grub_video_color_t color, int x, int y, 97 grub_video_fb_scroll (grub_video_color_t color, int dx, int dy);
|
H A D | video.h | 26 /* Video color in hardware dependent format. Users should not assume any 30 /* Video color in hardware independent format. */ 102 /* When needed, decode color or just use value as is. */ 105 /* Two color bitmap; bits packed: rows are not padded to byte boundary. */ 126 /* Mode type bitmask. Contains information like is it Index color or 139 /* In index color mode, number of colors. In RGB mode this is 256. */ 148 /* How many bits are reserved for red color. */ 151 /* What is location of red color bits. In Index Color mode, this is 0. */ 154 /* How many bits are reserved for green color. */ 157 /* What is location of green color bit [all...] |
H A D | font.h | 115 grub_video_color_t color,
|
H A D | gfxmenu_view.h | 67 grub_video_color_t color,
|
/osnet-11/usr/src/grub/grub2/grub-core/video/fb/ |
H A D | fbutil.c | 73 grub_video_color_t color = 0; local 78 color = *(grub_uint32_t *)grub_video_fb_get_video_ptr (source, x, y); 85 color = ptr[0] | (ptr[1] << 8) | (ptr[2] << 16); 91 color = *(grub_uint16_t *)grub_video_fb_get_video_ptr (source, x, y); 95 color = *(grub_uint8_t *)grub_video_fb_get_video_ptr (source, x, y); 104 color = (*ptr >> bit_pos) & 0x01; 112 return color; 117 unsigned int x, unsigned int y, grub_video_color_t color) 127 *ptr = color; 134 grub_uint8_t *colorptr = (grub_uint8_t *)&color; 116 set_pixel(struct grub_video_fbblit_info *source, unsigned int x, unsigned int y, grub_video_color_t color) argument [all...] |
H A D | fbfill.c | 39 grub_video_color_t color, int x, int y, 47 set_pixel (dst, x + i, y + j, color); 50 /* Optimized filler for direct color 32 bit modes. It is assumed that color 54 grub_video_color_t color, int x, int y, 72 *dstptr++ = color; 79 /* Optimized filler for direct color 24 bit modes. It is assumed that color 83 grub_video_color_t color, int x, int y, 90 grub_uint8_t fill0 = (grub_uint8_t)((color >> 38 grub_video_fbfill(struct grub_video_fbblit_info *dst, grub_video_color_t color, int x, int y, int width, int height) argument 53 grub_video_fbfill_direct32(struct grub_video_fbblit_info *dst, grub_video_color_t color, int x, int y, int width, int height) argument 82 grub_video_fbfill_direct24(struct grub_video_fbblit_info *dst, grub_video_color_t color, int x, int y, int width, int height) argument 118 grub_video_fbfill_direct16(struct grub_video_fbblit_info *dst, grub_video_color_t color, int x, int y, int width, int height) argument 152 grub_video_fbfill_direct8(struct grub_video_fbblit_info *dst, grub_video_color_t color, int x, int y, int width, int height) argument [all...] |
H A D | fbblit.c | 506 grub_uint32_t color; local 511 color = *srcptr++; 513 sr = (color >> 0) & 0xFF; 514 sg = (color >> 8) & 0xFF; 515 sb = (color >> 16) & 0xFF; 576 grub_uint32_t color; local 601 color = 0xFF000000 | (sb << 16) | (sg << 8) | sr; 603 *dstptr++ = color; 618 grub_uint32_t color; local 638 color 661 grub_uint32_t color; local 704 grub_uint32_t color; local 826 grub_uint32_t color; local 907 grub_uint32_t color; local 969 grub_uint32_t color; local 1041 grub_uint32_t color; local 1114 grub_uint32_t color; local 1219 grub_uint32_t color; local 1318 grub_uint32_t color; local 1418 grub_uint32_t color; local [all...] |
H A D | video_fb.c | 128 /* Assume that we know everything from index color palette. */ 201 /* Maps color name to target optimized color format. */ 205 /* TODO: implement color theme mapping code. */ 214 grub_video_color_t color; local 216 color = grub_video_fb_map_rgb (framebuffer.palette[color_name].r, 220 return color; 227 /* Maps RGB to target optimized color format. */ 241 /* Find best matching color. */ 278 grub_uint8_t alpha = 255; /* Opaque color 336 grub_video_fb_unmap_color(grub_video_color_t color, grub_uint8_t *red, grub_uint8_t *green, grub_uint8_t *blue, grub_uint8_t *alpha) argument 352 grub_video_fb_unmap_color_int(struct grub_video_fbblit_info * source, grub_video_color_t color, grub_uint8_t *red, grub_uint8_t *green, grub_uint8_t *blue, grub_uint8_t *alpha) argument 450 grub_video_fb_fill_rect(grub_video_color_t color, int x, int y, unsigned int width, unsigned int height) argument 990 grub_video_fb_scroll(grub_video_color_t color, int dx, int dy) argument [all...] |
/osnet-11/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | color.c | 32 * color.c 44 "libxcurses/src/libc/xcurses/rcs/color.c 1.6 1998/05/28 17:10:14 " 95 init_color(short color, short r, short g, short b) argument 99 if (!can_change || color < 0 || max_colors <= color || 105 /* Remember color settings for future queries. */ 106 cur_term->_color[color][0] = r; 107 cur_term->_color[color][1] = g; 108 cur_term->_color[color][2] = b; 112 /* Set the color 154 color_content(short color, short *r, short *g, short *b) argument [all...] |
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Term/ANSIColor/ |
H A D | test.pl | 16 use Term::ANSIColor qw(:constants color colored uncolor); 25 # Test simple color attributes. 26 if (color ('blue on_green', 'bold') eq "\e[34;42;1m") { 94 if (color ('blue') == '') {
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/CGI/examples/ |
H A D | popup.cgi | 18 print "<P>What's your favorite color? ", 19 $query->popup_menu(-name=>'color', 29 print "<P>Your favorite color is <EM>",$query->param(color),"</EM>\n";
|
H A D | frameset.cgi | 63 print "<P>What's your favorite color? ", 64 $query->popup_menu(-name=>'color', 79 print "<P>Your favorite color is <EM>",$query->param(color),"</EM>\n";
|
/osnet-11/usr/src/grub/grub2/grub-core/gfxmenu/ |
H A D | gui_label.c | 51 grub_video_rgba_color_t color; member in struct:grub_gui_label 112 grub_video_map_rgba_color (self->color), 189 else if (grub_strcmp (name, "color") == 0) 191 grub_video_parse_color (value, &self->color); 250 label->color.red = 0; 251 label->color.green = 0; 252 label->color.blue = 0; 253 label->color.alpha = 255;
|
H A D | font.c | 41 grub_video_color_t color, 66 err = grub_font_draw_glyph (glyph, color, x, baseline_y); 40 grub_font_draw_string(const char *str, grub_font_t font, grub_video_color_t color, int left_x, int baseline_y) argument
|
/osnet-11/usr/src/grub/grub2/grub-core/term/ |
H A D | gfxterm.c | 88 /* Terminal color settings. */ 160 /* Map terminal color to text layer compatible video colors. */ 163 /* Special case: use black as transparent color. */ 323 grub_video_color_t color; local 337 /* Make sure screen is set to the default background color. */ 338 color = grub_video_map_rgba_color (default_bg_color); 339 grub_video_fill_rect (color, 0, 0, mode_info.width, mode_info.height); 343 grub_video_fill_rect (color, 0, 0, mode_info.width, mode_info.height); 419 grub_video_color_t color; local 438 color 603 grub_video_color_t color; local 664 grub_video_color_t color; local 699 grub_video_color_t color; local 1020 grub_video_color_t color; local [all...] |
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Term/ |
H A D | ANSIColor.pm | 26 @EXPORT = qw(color colored); 120 # Return the escape code for a given set of color attributes. 121 sub color { subroutine 137 # Return a list of named color attributes for a given set of escape codes. 183 my $attr = color (@codes); 188 color (@codes) . $string . "\e[0m"; 207 print color 'bold blue'; 209 print color 'reset'; 228 This module has two interfaces, one through color() and colored() and the 232 color() take [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/normal/ |
H A D | color.c | 60 grub_parse_color_name_pair (grub_uint8_t *color, const char *name) argument 90 grub_printf_ (N_("Warning: invalid foreground color `%s'\n"), fg_name); 96 grub_printf_ (N_("Warning: invalid background color `%s'\n"), bg_name); 101 *color = (bg << 4) | fg; 121 /* Propagates `normal' color to terminal current color. */
|
/osnet-11/usr/src/grub/grub2/grub-core/video/ |
H A D | colors.c | 1 /* named_colors.c - Named color values. */ 31 grub_video_rgba_color_t color; member in struct:named_color 35 Named color list generated from the list of SVG color keywords from 36 <http://www.w3.org/TR/css3-color/#svg-color>, 195 /* Get the color named NAME. If the color was found, returns 1 and 196 stores the color into *COLOR. If the color wa 199 grub_video_get_named_color(const char *name, grub_video_rgba_color_t *color) argument 244 grub_video_parse_color(const char *s, grub_video_rgba_color_t *color) argument [all...] |
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Pod/Text/ |
H A D | Color.pm | 1 # Pod::Text::Color -- Convert POD data to formatted color ASCII text 10 # better use of color, take options changing what colors are used for what 97 Pod::Text::Color - Convert POD data to formatted color ASCII text 113 text using ANSI color escape sequences. Apart from the color, it in all
|