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) \
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);
spinfinity_la_CFLAGS = $(PLYMOUTH_CFLAGS) \
-DPLYMOUTH_IMAGE_DIR=\"$(datadir)/plymouth/\" \
-DPLYMOUTH_LOGO_FILE=\"$(logofile)\" \
- -DPLYMOUTH_BACKGROUND_COLOR=$(background_color)
+ -DPLYMOUTH_BACKGROUND_COLOR=$(background_color) \
+ -DPLYMOUTH_BACKGROUND_END_COLOR=$(background_end_color) \
+ -DPLYMOUTH_BACKGROUND_START_COLOR=$(background_start_color)
spinfinity_la_LDFLAGS = -module -avoid-version -export-dynamic
spinfinity_la_LIBADD = $(PLYMOUTH_LIBS) \
draw_background (ply_boot_splash_plugin_t *plugin,
ply_frame_buffer_area_t *area)
{
- ply_frame_buffer_fill_with_hex_color (plugin->frame_buffer, area,
- PLYMOUTH_BACKGROUND_COLOR);
+ ply_frame_buffer_fill_with_gradient (plugin->frame_buffer, area,
+ PLYMOUTH_BACKGROUND_START_COLOR,
+ PLYMOUTH_BACKGROUND_END_COLOR);
}
static void