I just committed it to the CVS. Now PicoGUI will convert all in-memory bitmaps to a 
new depth and color format when changing modes if necessary, so it is now possible and 
practical to switch color depth at runtime!

The remaining disadvantage is, because PicoGUI only stores device-dependant bitmap 
data, when the color depth is decreased the extra color is lost permanently. When the 
color depth is increased PicoGUI should reload themes from file and notify apps so 
they can reload bitmaps if necessary. 

Note: I haven't tested this on any drivers except sdlfb yet, but it should work as 
I've tested the driver-specific code already

--
perl -e'socket S,2,1,tcp;connect S,pack(H16,"0200029a80692d32").\0x8;print 
grep!/=/,<S>'


_______________________________________________
Pgui-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/pgui-devel

Reply via email to