<br><br><div class="gmail_quote">On Tue, Apr 15, 2008 at 3:30 PM, Frantisek Dufka <<a href="mailto:dufkaf@seznam.cz">dufkaf@seznam.cz</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Michael Stepanov wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
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.<br>
<br>
Any idea why?<br>
<br>
</blockquote>
<br></div>
Some typo in your mail? Uint16 is 16 bit value, you really can't fit more than FFFF there :-)<br>
</blockquote></div><br>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?<br clear="all"><br>-- <br>Cheers,<br>Michael