diff options
| author | Ray Strode <rstrode@redhat.com> | 2008-06-16 13:55:41 -0400 |
|---|---|---|
| committer | Ray Strode <rstrode@redhat.com> | 2008-06-16 15:02:59 -0400 |
| commit | 0087cc646452d5df8d716eff1ae0b1938f2485ef (patch) | |
| tree | 8538734f15b4dfc24120591cdf68808583e8556c /src/libplybootsplash | |
| parent | bbbe3af42a52fa2eea871602c863908d879de434 (diff) | |
| download | plymouth-0087cc646452d5df8d716eff1ae0b1938f2485ef.tar.gz plymouth-0087cc646452d5df8d716eff1ae0b1938f2485ef.tar.xz plymouth-0087cc646452d5df8d716eff1ae0b1938f2485ef.zip | |
Use proper gradient color stops for spinfinity
Diffstat (limited to 'src/libplybootsplash')
| -rw-r--r-- | src/libplybootsplash/Makefile.am | 4 | ||||
| -rw-r--r-- | src/libplybootsplash/ply-throbber.c | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/src/libplybootsplash/Makefile.am b/src/libplybootsplash/Makefile.am index b2f4a3d..71c3874 100644 --- a/src/libplybootsplash/Makefile.am +++ b/src/libplybootsplash/Makefile.am @@ -8,7 +8,9 @@ libplybootsplashdir = $(includedir)/plymouth-1/plybootsplash libplybootsplash_HEADERS = ply-answer.h ply-throbber.h ply-window.h ply-boot-splash-plugin.h libplybootsplash_la_CFLAGS = $(PLYMOUTH_CFLAGS) \ - -DPLYMOUTH_BACKGROUND_COLOR=$(background_color) + -DPLYMOUTH_BACKGROUND_COLOR=$(background_color) \ + -DPLYMOUTH_BACKGROUND_END_COLOR=$(background_end_color) \ + -DPLYMOUTH_BACKGROUND_START_COLOR=$(background_start_color) libplybootsplash_la_LIBADD = $(PLYMOUTH_LIBS) ../libply/libply.la libplybootsplash_la_LDFLAGS = -export-symbols-regex '^[^_].*' \ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \ diff --git a/src/libplybootsplash/ply-throbber.c b/src/libplybootsplash/ply-throbber.c index 2b3ebba..2349864 100644 --- a/src/libplybootsplash/ply-throbber.c +++ b/src/libplybootsplash/ply-throbber.c @@ -141,8 +141,9 @@ animate_at_time (ply_throbber_t *throbber, ply_frame_buffer_pause_updates (throbber->frame_buffer); if (throbber->frame_area.width > 0) - ply_frame_buffer_fill_with_hex_color (throbber->frame_buffer, &throbber->frame_area, - PLYMOUTH_BACKGROUND_COLOR); + ply_frame_buffer_fill_with_gradient (throbber->frame_buffer, &throbber->frame_area, + PLYMOUTH_BACKGROUND_START_COLOR, + PLYMOUTH_BACKGROUND_END_COLOR); frames = (ply_image_t * const *) ply_array_get_elements (throbber->frames); |
