* 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: (LP: #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.
-- Martin Pitt <email address hidden> Wed, 04 Mar 2009 21:41:36 +0100
This bug was fixed in the package usplash - 0.5.30
---------------
usplash (0.5.30) jaunty; urgency=low
* Providing a background image for all possible resolutions has become too theme_width( ) and theme_height( ) which usplash and themes should use instead of an >width/ height. These functions will return {width, height} and fall back to the pixmap's dimensions if the pixmap- >width( ) with theme_width( theme) (likewise for height). If you want to retain
cumbersome. Thus change theme definitions to be able to provide just a
logo, its screen position, and an explicit theme size: (LP: #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_
usplash_
explicit pixmap-
theme_
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->
usplash_
full screen pixmaps, just set all of those fields to 0.
-- Martin Pitt <email address hidden> Wed, 04 Mar 2009 21:41:36 +0100