Rev 3707 | Rev 3795 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3707 | Rev 3767 | ||
---|---|---|---|
Line 95... | Line 95... | ||
95 | static void clear(void) |
95 | static void clear(void) |
96 | { |
96 | { |
97 | async_msg_0(fbphone, FB_CLEAR); |
97 | async_msg_0(fbphone, FB_CLEAR); |
98 | } |
98 | } |
99 | 99 | ||
100 | static void set_style(int fgcolor, int bgcolor) |
100 | static void set_rgb_color(int fgcolor, int bgcolor) |
101 | { |
101 | { |
102 | async_msg_2(fbphone, FB_SET_STYLE, fgcolor, bgcolor); |
102 | async_msg_2(fbphone, FB_SET_RGB_COLOR, fgcolor, bgcolor); |
103 | } |
103 | } |
104 | 104 | ||
105 | /** Transparent putchar */ |
105 | /** Transparent putchar */ |
106 | static void tran_putch(char c, int row, int col) |
106 | static void tran_putch(char c, int row, int col) |
107 | { |
107 | { |
Line 344... | Line 344... | ||
344 | 344 | ||
345 | if (!use_gcons) |
345 | if (!use_gcons) |
346 | return; |
346 | return; |
347 | 347 | ||
348 | vp_switch(0); |
348 | vp_switch(0); |
349 | set_style(MAIN_COLOR, MAIN_COLOR); |
349 | set_rgb_color(MAIN_COLOR, MAIN_COLOR); |
350 | clear(); |
350 | clear(); |
351 | draw_pixmap(_binary_helenos_ppm_start, |
351 | draw_pixmap(_binary_helenos_ppm_start, |
352 | (size_t) &_binary_helenos_ppm_size, xres - 66, 2); |
352 | (size_t) &_binary_helenos_ppm_size, xres - 66, 2); |
353 | draw_pixmap(_binary_nameic_ppm_start, |
353 | draw_pixmap(_binary_nameic_ppm_start, |
354 | (size_t) &_binary_nameic_ppm_size, 5, 17); |
354 | (size_t) &_binary_nameic_ppm_size, 5, 17); |
Line 479... | Line 479... | ||
479 | i * (STATUS_WIDTH + STATUS_SPACE), STATUS_TOP, |
479 | i * (STATUS_WIDTH + STATUS_SPACE), STATUS_TOP, |
480 | STATUS_WIDTH, STATUS_HEIGHT); |
480 | STATUS_WIDTH, STATUS_HEIGHT); |
481 | if (cstatus_vp[i] < 0) |
481 | if (cstatus_vp[i] < 0) |
482 | return; |
482 | return; |
483 | vp_switch(cstatus_vp[i]); |
483 | vp_switch(cstatus_vp[i]); |
484 | set_style(0x202020, 0xffffff); |
484 | set_rgb_color(0x202020, 0xffffff); |
485 | } |
485 | } |
486 | 486 | ||
487 | /* Initialize icons */ |
487 | /* Initialize icons */ |
488 | ic_pixmaps[CONS_SELECTED] = |
488 | ic_pixmaps[CONS_SELECTED] = |
489 | make_pixmap(_binary_cons_selected_ppm_start, |
489 | make_pixmap(_binary_cons_selected_ppm_start, |