I put the new usplash into my PPA, for playing around:
usplash (0.5.30~ppa1) jaunty; urgency=low
.
* Providing a background image for all possible resolutions has become too
cumbersome. Thus change theme definitions to be able to provide just a
logo, its screen position, and an explicit theme size: (see #64147)
- usplash-theme.h: Add new fields theme_width, theme_height, pixmap_x,
pixmap_y. Bump THEME_VERSION for this.
- usplash-theme.h: Add new functions usplash_theme_width() and usplash_theme_height() which usplash and themes should use instead of an
explicit pixmap->width/height. These functions will return theme_{width,height} and fall back to the pixmap's dimensions if the
theme size is 0.
- libusplash.c: Implement above two functions, update the code to use them
instead of the pixmap dimensions, and add the pixmap_{x,y} offset when
drawing pixmap.
- This will require all usplash themes to be rebuilt, define above
four fields, and replace theme->pixmap->width() with usplash_theme_width(theme) (likewise for height). If you want to retain
full screen pixmaps, just set all of those fields to 0.
I put the new usplash into my PPA, for playing around:
usplash (0.5.30~ppa1) jaunty; urgency=low theme_width( ) and
usplash_ theme_height( ) which usplash and themes should use instead of an >width/ height. These functions will return
theme_{ width,height} and fall back to the pixmap's dimensions if the pixmap- >width( ) with
usplash_ theme_width( theme) (likewise for height). If you want to retain
.
* Providing a background image for all possible resolutions has become too
cumbersome. Thus change theme definitions to be able to provide just a
logo, its screen position, and an explicit theme size: (see #64147)
- usplash-theme.h: Add new fields theme_width, theme_height, pixmap_x,
pixmap_y. Bump THEME_VERSION for this.
- usplash-theme.h: Add new functions usplash_
explicit pixmap-
theme size is 0.
- libusplash.c: Implement above two functions, update the code to use them
instead of the pixmap dimensions, and add the pixmap_{x,y} offset when
drawing pixmap.
- This will require all usplash themes to be rebuilt, define above
four fields, and replace theme->
full screen pixmaps, just set all of those fields to 0.