setting correct text colour against themed backgrounds on UIQ 3.0

Login to reply to this topic.
Thu, 2007-03-08 14:33
Joined: 2006-04-05
Forum posts: 104
Hi,

I have a problem where my code is hard coding the text colour to black on my UI.  The problem arises when that text is set against a dark coloured or black theme meaning that the text is difficult or impossible to read.

I have seen a way around this on Series 60.  This involves getting the text colour based on the theme (using AknsUtils::GetCachedColor) and then explicitly setting the text colour to the value retrieved from the theme using SetPenColor()on the bitmap context.

However I want to do this on UIQ 3.0. 

Does anyone know how to get around this problem on UIQ 3.0?

Best regards,

PL
  • Login to reply to this topic.