uifw/ganes/src/HgVgButton.cpp
branchRCL_3
changeset 6 9f56a4e1b8ab
parent 0 2f259fa3e83a
equal deleted inserted replaced
5:aabf2c525e0f 6:9f56a4e1b8ab
   167     {
   167     {
   168     if (iEnabled)
   168     if (iEnabled)
   169         {
   169         {
   170         TRgb color(KRgbWhite);
   170         TRgb color(KRgbWhite);
   171         color.SetAlpha(aAlpha * 255.0f);
   171         color.SetAlpha(aAlpha * 255.0f);
   172         HgVgHelper::DrawImageColorized(iImage, color, iPosition, aWindowRect, EFalse);
   172         HgVgHelper::DrawImageColorized(iImage, color, iPosition, aWindowRect, EFalse, iLandscape);
   173         }
   173         }
   174     }
   174     }
   175 
   175 
       
   176 // -----------------------------------------------------------------------------
       
   177 // CHgVgButton::EnableLanscapeRendering()
       
   178 // -----------------------------------------------------------------------------
       
   179 //
       
   180 void CHgVgButton::EnableLandscapeRendering(TBool aEnabled)
       
   181 {
       
   182     iLandscape = aEnabled;
       
   183 }
       
   184 
       
   185 
   176 // End of File
   186 // End of File