[Gambas-devel] SDL 050215

Laurent Carlier lordheavy at ...141...
Tue Feb 15 20:13:37 CET 2005


An update of the SDL componant !
Changelog :
xx/xx/05 - Laurent Carlier :
Image component
* Fix a memory issue in draw.text, forgot to release the tempory surface 
(draw.c)
* Screen.Gamma is now Screen.SetGamma (screen.c)
* Screen.Refresh and Screen.Update are aliases, Screen.Flip removed (name 
conflicts with Surface.Flip) (screen.c)
* Add an optional boolean flag to surface.load disabling auto-convertion to 
Screen caracteristics (screen.c)
* Internal change : now colorkey is managed with RGB values (surface.c 
surface.h)
* Fix typos in key constants (key.c)
* Screen.Framerate removed, framerate limitation is enable when 
Screen.SetFramerate>0 (screen.c)
* Fix the Fps calculation (SIGFPE exception) (screen.c)
* Now a Rectangle is really drawn of wanted width/height, not widht+1/height+1 
(draw.c)
* New method : Screen.Grab, allow to grab a part of or the whole Screen as a 
Surface object (screen.c)
* New class : Palette allow managing colors of 8 bpp Surfaces/Screen 
(palette.c palette.h)
* Hook loop doesn't wait anymore if there isn't opened Screen (main.c)
* New class : Poke allow read/change bytes of Surfaces/Screen (game.c game.h)
* Fix a bug avoiding wrawing on a new surface, removing endian stuff 
(surface.c) 

And too, an example from Fabien Bodard using 8 bpp surfaces, with palette and 
poke functions.

Have fun,

-- 

Laurent Carlier
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sdl050215-gb19.tar.bz2
Type: application/x-tbz
Size: 36685 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20050215/9701facc/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: effect-0.0.2.tar.gz
Type: application/x-tgz
Size: 1228 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20050215/9701facc/attachment-0001.bin>


More information about the Devel mailing list