On ma, 2006-10-16 at 15:10 -0400, Viper550 wrote: > Hold it, how will we do fancy progress bars now? We can't set separate > progress bar images for separate color depths!
Sure you can! The fancy-progressbar-themes are responsible for drawing
the themes themselves. Something like this should work:
extern struct usplash_pixmap hi_fg, hi_bg, lo_bg, lo_fg;
struct usplash_pixmap *pb_fg, *pb_bg;
int theme_init(int xres, int yres) {
if(xres == 400) {
pb_fg = &lo_fg;
pb_bg = &lo_bg
}
else {
you should get the point by now
}
}
--
Dennis K.
Time is an illusion, lunchtime doubly so.
signature.asc
Description: This is a digitally signed message part
-- ubuntu-art mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-art
