uifw/ganes/src/HgVgLabel.cpp
branchRCL_3
changeset 5 aabf2c525e0f
parent 0 2f259fa3e83a
child 6 9f56a4e1b8ab
--- a/uifw/ganes/src/HgVgLabel.cpp	Fri Feb 19 23:04:46 2010 +0200
+++ b/uifw/ganes/src/HgVgLabel.cpp	Fri Mar 12 15:43:43 2010 +0200
@@ -43,9 +43,9 @@
 // Two-phased constructor.
 // -----------------------------------------------------------------------------
 //
-CHgVgLabel* CHgVgLabel::NewL(const TRect& aRect, const CFont* aFont, const TDesC& aText)
+CHgVgLabel* CHgVgLabel::NewL(const TRect& aRect, const TDesC& aText)
     {
-    CHgVgLabel* self = new ( ELeave ) CHgVgLabel(aRect, aFont);
+    CHgVgLabel* self = new ( ELeave ) CHgVgLabel(aRect);
     CleanupStack::PushL (self );
     self->ConstructL(aText);
     CleanupStack::Pop ( self );
@@ -100,9 +100,8 @@
 // C++ default constructor can NOT contain any code, that might leave.
 // -----------------------------------------------------------------------------
 //
-CHgVgLabel::CHgVgLabel(const TRect& aRect, const CFont* aFont) : 
+CHgVgLabel::CHgVgLabel(const TRect& aRect) : 
 iRect(aRect),
-iFont(aFont),
 iTextColor(KRgbDarkGray),
 iShadowColor(KRgbBlack),
 iDirty(ETrue)
@@ -139,37 +138,6 @@
     }
 
 // -----------------------------------------------------------------------------
-// CHgVgLabel::SetFont()
-// -----------------------------------------------------------------------------
-//
-void CHgVgLabel::SetFont(const CFont* aFont)
-    {
-    if (aFont != iFont)
-        {
-        iFont = aFont;
-        iDirty = ETrue;
-        }
-    }
-
-// -----------------------------------------------------------------------------
-// CHgVgLabel::SetColor()
-// -----------------------------------------------------------------------------
-//
-void CHgVgLabel::SetColor(const TRgb& aColor)
-    {
-    iTextColor = aColor;
-    }
-
-// -----------------------------------------------------------------------------
-// CHgVgLabel::SetColor()
-// -----------------------------------------------------------------------------
-//
-void CHgVgLabel::SetShadowColor(const TRgb& aColor)
-    {
-    iShadowColor = aColor;
-    }
-
-// -----------------------------------------------------------------------------
 // CHgVgLabel::Draw()
 // -----------------------------------------------------------------------------
 //