uifw/ganes/src/HgVgLabel.cpp
branchRCL_3
changeset 10 9f56a4e1b8ab
parent 9 aabf2c525e0f
child 23 3d340a0166ff
equal deleted inserted replaced
9:aabf2c525e0f 10:9f56a4e1b8ab
   153     color.SetAlpha(255.0f * aAlpha);
   153     color.SetAlpha(255.0f * aAlpha);
   154     TRgb shadowColor = iShadowColor;
   154     TRgb shadowColor = iShadowColor;
   155     shadowColor.SetAlpha(255.0f * aAlpha);
   155     shadowColor.SetAlpha(255.0f * aAlpha);
   156 
   156 
   157     //HgVgHelper::DrawImageColorized(iTextImage, shadowColor, iRect.iTl+TPoint(1,1), aWindowRect);    
   157     //HgVgHelper::DrawImageColorized(iTextImage, shadowColor, iRect.iTl+TPoint(1,1), aWindowRect);    
   158     HgVgHelper::DrawImageColorized(iTextImage, color, iRect.iTl, aWindowRect);    
   158     HgVgHelper::DrawImageColorized(iTextImage, color, iRect.iTl, aWindowRect, EFalse, iLandscape);    
   159     }
   159     }
   160 
   160 
   161 // -----------------------------------------------------------------------------
   161 // -----------------------------------------------------------------------------
   162 // CHgVgLabel::Update()
   162 // CHgVgLabel::Update()
   163 // -----------------------------------------------------------------------------
   163 // -----------------------------------------------------------------------------
   198             TPoint(0, 0), iTextImage, VG_A_1);
   198             TPoint(0, 0), iTextImage, VG_A_1);
   199     iDirty = EFalse;
   199     iDirty = EFalse;
   200     Draw(aClientRect, 1.0f);
   200     Draw(aClientRect, 1.0f);
   201     }
   201     }
   202 
   202 
       
   203 void CHgVgLabel::EnableLandscapeRendering(TBool enabled)
       
   204 {
       
   205     iLandscape = enabled;
       
   206 }
   203 
   207 
   204 
   208 
   205 // End of File
   209 // End of File