--- a/calendarui/regionalplugins/Thai/src/CalenThaiPlugin.cpp Fri Feb 19 22:49:53 2010 +0200
+++ b/calendarui/regionalplugins/Thai/src/CalenThaiPlugin.cpp Fri Mar 12 15:42:35 2010 +0200
@@ -25,6 +25,11 @@
#include <AknUtils.h>
#include <avkon.hrh>
+#include <AknsSkinInstance.h>
+#include <AknsUtils.h>
+#include <gulcolor.h>
+
+
#include "CalenThaiPlugin.h"
@@ -130,6 +135,14 @@
aLabel.SetFont( labelFont );
aLabel.SetLabelAlignment(ELayoutAlignCenter);
aLabel.SetTextL( iThaiYearText );
+ MAknsSkinInstance* skin = AknsUtils::SkinInstance();
+ TRgb color;
+ TInt error = AknsUtils::GetCachedColor(skin, color,
+ KAknsIIDQsnTextColors, EAknsCIQsnTextColorsCG6);
+ if (error == KErrNone)
+ {
+ aLabel.OverrideColorL(EColorLabelText, color);
+ }
TRACE_EXIT_POINT;
}