javauis/lcdui_akn/lcdui/inc/CMIDEditingStateIndicator.h
branchRCL_3
changeset 18 9ac0a0a7da70
parent 14 04becd199f91
equal deleted inserted replaced
17:0fd27995241b 18:9ac0a0a7da70
   194      *        should be mapped.
   194      *        should be mapped.
   195      * @since S60 5.0
   195      * @since S60 5.0
   196      */
   196      */
   197     void OverrideColorL(TInt aLogicalColor, TRgb aColor);
   197     void OverrideColorL(TInt aLogicalColor, TRgb aColor);
   198 
   198 
       
   199     /**
       
   200      * Sets flag if scaling is on now.
       
   201      *
       
   202      * @param Flag if scaling is on now.
       
   203      *
       
   204      * @since S60 5.0
       
   205      */
       
   206     inline void SetScalingOn(TBool aScaling);
       
   207 
       
   208     /**
       
   209      * Sets current fullscreen canvas size.
       
   210      *
       
   211      * @param Current fullscreen canvas size.
       
   212       *
       
   213      * @since S60 5.0
       
   214      */
       
   215     inline void SetCanvasRect(const TRect& aRect);
       
   216 
   199 private: // From CAknIndicatorContainer
   217 private: // From CAknIndicatorContainer
   200 
   218 
   201     /**
   219     /**
   202      * Needs to be defined here for linking compatibility.
   220      * Needs to be defined here for linking compatibility.
   203      * @since S60 5.0
   221      * @since S60 5.0
   236     TAknEditingState iEditingState;
   254     TAknEditingState iEditingState;
   237     // Background color of the indicator.
   255     // Background color of the indicator.
   238     TRgb iBackgroundColor;
   256     TRgb iBackgroundColor;
   239     // Top parent of this control. Not owned.
   257     // Top parent of this control. Not owned.
   240     CCoeControl* iParent;
   258     CCoeControl* iParent;
       
   259     // Flag if scaling is on now.
       
   260     TBool iIsScalingOn;
       
   261     // Canvas fullscreen size
       
   262     TRect iOnScreenCanvasRect;
   241 };
   263 };
   242 
   264 
       
   265 void CMIDEditingStateIndicator::SetScalingOn(TBool aScaling)
       
   266 {
       
   267     iIsScalingOn = aScaling;
       
   268 }
       
   269 
       
   270 void CMIDEditingStateIndicator::SetCanvasRect(const TRect& aRect)
       
   271 {
       
   272     iOnScreenCanvasRect = aRect;
       
   273 }
       
   274 
   243 #endif // CMIDEDITINGSTATEINDICATOR_H
   275 #endif // CMIDEDITINGSTATEINDICATOR_H
   244 
   276 
   245 // End of file
   277 // End of file