×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jul 2008
    Posts
    6

    How to get the foreground color of the current theme ?

    Hi,
    I have a problem when I used a label in a dialog, I defined a label in a dialog in resource file. it display well in some theme, but it can not be visiable when the theme has a black background because the color of label is also black, So how to change the color of label according to the current theme?

    as far as i know, some s60 system control, like listbox and notes they will change the text color according the current theme. how did they implement?

    any comments are welcome!

    The environment I used is S60 5.0. Thank you in advance!

  2. #2
    Registered User
    Join Date
    Jul 2008
    Posts
    6

    Re: How to get the foreground color of the current theme ?

    solved. use AknsUtils::GetCachedColor( skin, color, KAknsIIDQsnTextColors, EAknsCIQsnTextColorsCG18 );

Similar Threads

  1. Error in packaging process :(
    By a-eqla3 in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2008-07-24, 20:33
  2. Theme Studio 3 and n90 / n70 Problems
    By Ezz666 in forum Streaming and Video
    Replies: 0
    Last Post: 2006-02-04, 13:18

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×