mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-09 04:48:08 +02:00
Remove progress_box.png and its halo option from solar plugin
This commit is contained in:
parent
524de59fbe
commit
4381272369
3 changed files with 1 additions and 16 deletions
|
|
@ -24,7 +24,7 @@ solar_la_SOURCES = $(srcdir)/plugin.c
|
|||
plymouthdir = $(datadir)/plymouth/solar
|
||||
plymouth_DATA = bullet.png entry.png lock.png \
|
||||
background.png star.png box.png \
|
||||
comet1.png progress_box.png progress_bar.png
|
||||
comet1.png progress_bar.png
|
||||
# planet1.png planet2.png planet3.png planet4.png planet5.png
|
||||
|
||||
EXTRA_DIST = $(plymouth_DATA)
|
||||
|
|
|
|||
|
|
@ -69,7 +69,6 @@
|
|||
/*#define SHOW_PLANETS */
|
||||
#define SHOW_COMETS
|
||||
#define SHOW_PROGRESS_BAR
|
||||
/*#define SHOW_PROGRESS_BAR_HALO */
|
||||
/*#define SHOW_LOGO_HALO */
|
||||
|
||||
|
||||
|
|
@ -160,9 +159,6 @@ struct _ply_boot_splash_plugin
|
|||
#endif
|
||||
#ifdef SHOW_PROGRESS_BAR
|
||||
ply_image_t *progress_barimage;
|
||||
#ifdef SHOW_PROGRESS_BAR_HALO
|
||||
ply_image_t *highlight_scaled_progress_box_image;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
ply_image_t *scaled_background_image;
|
||||
|
|
@ -1021,17 +1017,6 @@ setup_solar (ply_boot_splash_plugin_t *plugin)
|
|||
#endif
|
||||
|
||||
#ifdef SHOW_PROGRESS_BAR
|
||||
#ifdef SHOW_PROGRESS_BAR_HALO
|
||||
plugin->highlight_scaled_progress_box_image = ply_image_resize (plugin->scaled_progress_box_image, ply_image_get_width(plugin->scaled_progress_box_image)+HALO_BLUR*2, ply_image_get_height(plugin->scaled_progress_box_image)+HALO_BLUR*2);
|
||||
highlight_image (plugin->highlight_scaled_progress_box_image, plugin->scaled_progress_box_image, HALO_BLUR);
|
||||
|
||||
sprite = add_sprite (plugin, plugin->highlight_scaled_progress_box_image, SPRITE_TYPE_STATIC, NULL);
|
||||
sprite->x=x-HALO_BLUR;
|
||||
sprite->y=y-HALO_BLUR;
|
||||
sprite->z=10000;
|
||||
|
||||
#endif
|
||||
|
||||
progress_t* progress = malloc(sizeof(progress_t));
|
||||
|
||||
progress->image = plugin->progress_barimage;
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 229 B |
Loading…
Add table
Reference in a new issue