summaryrefslogtreecommitdiffstats
path: root/src/splash-plugins/text/plugin.c
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2008-06-26 16:21:49 -0400
committerRay Strode <rstrode@redhat.com>2008-06-26 16:21:49 -0400
commit876a5cd8c8fdd4f6f0e0a3035e559059dbb8e3bd (patch)
treec9e4e64a4ab5cb7be12f917f93c3c9882409e7bb /src/splash-plugins/text/plugin.c
parentaae9a4da8f3601b47633e3681f89661e1304d1c5 (diff)
downloadplymouth-876a5cd8c8fdd4f6f0e0a3035e559059dbb8e3bd.tar.gz
plymouth-876a5cd8c8fdd4f6f0e0a3035e559059dbb8e3bd.tar.xz
plymouth-876a5cd8c8fdd4f6f0e0a3035e559059dbb8e3bd.zip
Change colors of text splash screen to configured colors
We pass colors into configure, so we should use them
Diffstat (limited to 'src/splash-plugins/text/plugin.c')
-rw-r--r--src/splash-plugins/text/plugin.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/splash-plugins/text/plugin.c b/src/splash-plugins/text/plugin.c
index 8fa553f..216e482 100644
--- a/src/splash-plugins/text/plugin.c
+++ b/src/splash-plugins/text/plugin.c
@@ -104,6 +104,16 @@ start_animation (ply_boot_splash_plugin_t *plugin)
assert (plugin != NULL);
assert (plugin->loop != NULL);
+ ply_window_set_color_hex_value (plugin->window,
+ PLY_WINDOW_COLOR_BROWN,
+ PLYMOUTH_BACKGROUND_END_COLOR);
+ ply_window_set_color_hex_value (plugin->window,
+ PLY_WINDOW_COLOR_BLUE,
+ PLYMOUTH_BACKGROUND_START_COLOR);
+ ply_window_set_color_hex_value (plugin->window,
+ PLY_WINDOW_COLOR_GREEN,
+ PLYMOUTH_BACKGROUND_COLOR);
+
ply_window_set_background_color (plugin->window, PLY_WINDOW_COLOR_BLUE);
ply_window_clear_screen (plugin->window);
ply_window_hide_text_cursor (plugin->window);