×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Jun 2008
    Posts
    6

    Lightbulb how to chage font color depending on back ground skin color

    Hi ,
    I would like to know how to change the FONT color depending on the Back ground Skin color.
    I have seen in some applications that if we change the theme, its font color changes automatically .I would like to know how to achieve this.
    I am new to this UI .
    So any pointer to documents is also helpful.

    Thanks you

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,570

    Re: how to chage font color depending on back ground skin color

    You can experiment with AknsUtils::GetCachedColor.

  3. #3
    Regular Contributor
    Join Date
    Jun 2008
    Location
    Tianjin
    Posts
    156

    Re: how to chage font color depending on back ground skin color

    MAknsSkinInstance* skin = AknsUtils::SkinInstance();
    AknsUtils::GetCachedColor(skin, color, KAknsIIDQsnTextColors, EAknsCIQsnTextColorsCG6);
    anson_zhao

  4. #4
    Registered User
    Join Date
    Mar 2012
    Posts
    11

    Re: how to chage font color depending on back ground skin color

    Hi,
    How to change back ground color and text color

  5. #5
    Nokia Developer Expert
    Join Date
    Sep 2011
    Posts
    382

    Re: how to chage font color depending on back ground skin color

    Background can be the same as in the built in applications.

Similar Threads

  1. How to extract text color defined by skin ?
    By doslo in forum Symbian User Interface
    Replies: 4
    Last Post: 2008-07-03, 14:26
  2. Font color problem
    By aamitgupta in forum Symbian
    Replies: 2
    Last Post: 2008-07-03, 14:20
  3. Problem in Back Ground color
    By aamitgupta in forum Symbian
    Replies: 0
    Last Post: 2008-04-04, 11:39
  4. Font color of CEikEdwin editor
    By kumar_sai123 in forum Symbian User Interface
    Replies: 1
    Last Post: 2008-03-29, 13:49
  5. How to extract text color defined by skin ?
    By saurbh_g in forum Symbian User Interface
    Replies: 1
    Last Post: 2006-04-05, 14:03

Posting Permissions

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