[SDL] hiding high score data ( vaugly off topic )

Paul Duffy odubtaig at yahoo.co.uk
Mon May 28 09:31:06 PDT 2007


On Mon, 2007-05-28 at 16:08 +0100, neil at cloudsprinter.com wrote:
> still whats really bugging me is the WM Set icon thing, if you just whack a
> SDL_LoadBMP("blah.bmp") it works fine

Have you looked at the structure of SDL_Surface? You should be able to
insert data into mySurface->w (width), mySurface->h (height) and
mySurface->pixels for example which would mean that SDL would then be
able to use that data to set the icon.

http://www.linuxjournal.com/article/4401 uncludes an example of drawing
direct to a surface.


		
___________________________________________________________ 
Try the all-new Yahoo! Mail. "The New Version is radically easier to use" – The Wall Street Journal 
http://uk.docs.yahoo.com/nowyoucan.html


More information about the SDL mailing list