3rd : set color font

Login to reply to this topic.
Fri, 2008-01-25 12:23
Joined: 2006-07-21
Forum posts: 151

Hi,
i need to set color of font of CWindowGc according the background used on phone, how to this?
I use

MAknsSkinInstance* skin = AknsUtils::SkinInstance();
MAknsControlContext* cc = AknsDrawUtils::ControlContext( this );
AknsDrawUtils::Background( skin, cc, this, gc, drawRect );

for the background, but if background is black the text that I write is impossible to read Sad

Many thanks
Silvia

  • Login to reply to this topic.