i make the color of my control consistently with the theme highlight color, does somebody know how to get it?
i make the color of my control consistently with the theme highlight color, does somebody know how to get it?
u may check this:-
TRgb textColor; // text color when not highlighted
MAknsSkinInstance* skin = AknsUtils::SkinInstance();
AknsUtils::GetCachedColor( skin, textColor, KAknsIIDQsnTextColors, EAknsCIQsnTextColorsCG9 );
TRgb highlightColor; // text color when highlighted
AknsUtils::GetCachedColor( skin, highlightColor, KAknsIIDQsnTextColors, EAknsCIQsnTextColorsCG11 );
code is same, adjust with your need.. u may give KAknsIIDQsnOtherColors, EAknsMinorQsnOtherColorsthe 3rd and 4th argument of that function