change tricolor text theme
Tóth Tibor
tibby at ulx.hu
Fri Jul 29 01:31:44 PDT 2011
Hi Ray,
I have found the part you have mentioned in the source:
------------[ plymouth-0.8.3/src/plugins/splash/text/plugin.c ]------------
view_start_animation (view_t *view)
{
ply_boot_splash_plugin_t *plugin;
ply_terminal_t *terminal;
assert (view != NULL);
plugin = view->plugin;
terminal = ply_text_display_get_terminal (view->display);
ply_terminal_set_color_hex_value (terminal,
PLY_TERMINAL_COLOR_BLACK,
0x000000);
ply_terminal_set_color_hex_value (terminal,
PLY_TERMINAL_COLOR_WHITE,
0xffffff);
ply_terminal_set_color_hex_value (terminal,
PLY_TERMINAL_COLOR_BLUE,
0xCC0000);
ply_terminal_set_color_hex_value (terminal,
PLY_TERMINAL_COLOR_BROWN,
0x700000);
ply_text_display_set_background_color (view->display,
PLY_TERMINAL_COLOR_BLACK);
ply_text_display_clear_screen (view->display);
ply_text_display_hide_cursor (view->display);
if (plugin->mode == PLY_BOOT_SPLASH_MODE_SHUTDOWN)
{
ply_text_progress_bar_hide (view->progress_bar);
return;
}
ply_text_progress_bar_show (view->progress_bar,
view->display);
}
------------------------[ END ]------------------------
More information about the plymouth
mailing list