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

From: Michael Stepanov michael at stepanoff.org
Date: Tue Apr 15 15:37:56 EEST 2008
On Tue, Apr 15, 2008 at 3:30 PM, Frantisek Dufka <dufkaf at seznam.cz> wrote:

> Michael Stepanov wrote:
>
> > In case of Nokia that method returns *(Uint16 *)p. But instead of 6
> > hexadecimals it returns only 4. For example, for white color it returns FFFF
> > instead of FFFFF. The same, for the rest of colors.
> >
> > Any idea why?
> >
> >
> Some typo in your mail? Uint16 is 16 bit value, you really can't fit more
> than FFFF there :-)
>

You're right. I'm not  C++ developer. Just try to port some application to
maemo :) So, how in that situation I can get correct color?

-- 
Cheers,
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20080415/c1718437/attachment.htm 
More information about the maemo-developers mailing list