From: Ray Strode Date: Fri, 30 May 2008 14:39:46 +0000 (-0400) Subject: Fix up throbber to use correct color, too X-Git-Tag: 0.1.0~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2efc4cd81a6490d1a34c8c4338ee465ed2b5cd2a;p=thirdparty%2Fplymouth.git Fix up throbber to use correct color, too --- diff --git a/src/splash-plugins/spinfinity/throbber.c b/src/splash-plugins/spinfinity/throbber.c index 1711a3b1..d5a8e90c 100644 --- a/src/splash-plugins/spinfinity/throbber.c +++ b/src/splash-plugins/spinfinity/throbber.c @@ -141,8 +141,8 @@ animate_at_time (throbber_t *throbber, ply_frame_buffer_pause_updates (throbber->frame_buffer); if (throbber->frame_area.width > 0) - ply_frame_buffer_fill_with_color (throbber->frame_buffer, &throbber->frame_area, - 0.0, 0.43, .71, 1.0); + ply_frame_buffer_fill_with_hex_color (throbber->frame_buffer, &throbber->frame_area, + PLYMOUTH_BACKGROUND_COLOR); frames = (ply_image_t * const *) ply_array_get_elements (throbber->frames); @@ -298,8 +298,8 @@ void throbber_stop (throbber_t *throbber) { if (throbber->frame_area.width > 0) - ply_frame_buffer_fill_with_color (throbber->frame_buffer, &throbber->frame_area, - 0.0, 0.43, .71, 1.0); + ply_frame_buffer_fill_with_hex_color (throbber->frame_buffer, &throbber->frame_area, + PLYMOUTH_BACKGROUND_COLOR); throbber->frame_buffer = NULL; throbber->window = NULL;