[maemo-developers] [maemo-developers] Nokia SDL color format for pixels

From: Tapani.Palli at nokia.com Tapani.Palli at nokia.com
Date: Fri Feb 9 12:39:14 EET 2007
Hello,
Could you be more specific what are you trying todo and how? Are you
going through pixelvalues and accessing them? See
surface->format->BytesPerPixel. SDL_GetRGB and SDL_MapRGB should work
allright.

// Tapani 


________________________________

	From: maemo-developers-bounces at maemo.org
[mailto:maemo-developers-bounces at maemo.org] On Behalf Of ext Michael
Stepanov
	Sent: 09 February, 2007 11:03
	To: maemo-developers at maemo.org
	Subject: [maemo-developers] Nokia SDL color format for pixels
	
	
	Hi,
	
	I have a question about SDL realization for Nokia770/800. Does
it use some different format to fill a pixel by some color? Because in
my application SDL is used to change color of icons according to some
conditions. It works fine under Linux (Debian) but it didn't work under
Nokia 770 (I tried for both os2005 and os2006). The color of icon is not
changed. Any ideas why? 
	Is there some manual about Nokia port of SDL?
	
	Thanks in advance.
	
	-- 
	Cheers,
	Michael 


More information about the maemo-developers mailing list