summaryrefslogtreecommitdiffstats
path: root/src/splash-plugins
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2008-06-02 11:54:34 -0400
committerKristian Høgsberg <krh@redhat.com>2008-06-02 11:54:40 -0400
commit890d5fe35788342b67df01b29855df56a18d5e5e (patch)
treea72ddae3590171e0946a9b180b9ab1f24af59da6 /src/splash-plugins
parentf11cd0f666ba03db9bb467ac7ed5f6bca971ce48 (diff)
downloadplymouth-890d5fe35788342b67df01b29855df56a18d5e5e.tar.gz
plymouth-890d5fe35788342b67df01b29855df56a18d5e5e.tar.xz
plymouth-890d5fe35788342b67df01b29855df56a18d5e5e.zip
Implement gradient support for ply-frame-buffer.
Diffstat (limited to 'src/splash-plugins')
-rw-r--r--src/splash-plugins/fade-in/plugin.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/splash-plugins/fade-in/plugin.c b/src/splash-plugins/fade-in/plugin.c
index 7f71c33..9c50567 100644
--- a/src/splash-plugins/fade-in/plugin.c
+++ b/src/splash-plugins/fade-in/plugin.c
@@ -198,8 +198,13 @@ static void
draw_background (ply_boot_splash_plugin_t *plugin,
ply_frame_buffer_area_t *area)
{
+#if 0
ply_frame_buffer_fill_with_hex_color (plugin->frame_buffer, area,
PLYMOUTH_BACKGROUND_COLOR);
+#else
+ ply_frame_buffer_fill_with_gradient (plugin->frame_buffer, area,
+ 0x00000000, 0x00000090);
+#endif
}
static void