uifw/ganes/inc/HgVgLabel.h
branchRCL_3
changeset 9 aabf2c525e0f
parent 0 2f259fa3e83a
child 10 9f56a4e1b8ab
--- a/uifw/ganes/inc/HgVgLabel.h	Fri Feb 19 23:04:46 2010 +0200
+++ b/uifw/ganes/inc/HgVgLabel.h	Fri Mar 12 15:43:43 2010 +0200
@@ -42,7 +42,7 @@
      * @param aRect Rectangle of the drawing area.
      * @return HgVgLabel-object.
      */
-    static CHgVgLabel* NewL (const TRect& aRect, const CFont* aFont, const TDesC& aText=KNullDesC); 
+    static CHgVgLabel* NewL (const TRect& aRect, const TDesC& aText=KNullDesC); 
         
     // Destructor.
     virtual ~CHgVgLabel();
@@ -51,12 +51,6 @@
     
     void SetTextL(const TDesC& aText);
     
-    void SetFont(const CFont* aFont);
-    
-    void SetColor(const TRgb& aColor);
-    
-    void SetShadowColor(const TRgb& aColor);
-        
     void Draw(const TRect& aWindowRect, TReal aAlpha=1.0);
     
     void SetLayout(const TAknTextComponentLayout& aLayout, const TRect& aParentRect);
@@ -65,7 +59,7 @@
 
 protected: // Constructors
 
-    CHgVgLabel(const TRect& aRect, const CFont* aFont);
+    CHgVgLabel(const TRect& aRect);
 
     void ConstructL (const TDesC& aText);
     
@@ -75,8 +69,6 @@
 
     TRect iRect;
     
-    const CFont* iFont;
-    
     HBufC* iText; // Item title. Own
 
     CHgVgDrawBuffer* iTextRenderer; // used to renrer text to bit gc, owns