emailuis/uicomponents/inc/fscontrolbarmodel.h
changeset 1 12c456ceeff2
parent 0 8466d47a6819
child 2 5253a20d2a1e
equal deleted inserted replaced
0:8466d47a6819 1:12c456ceeff2
   191      * @param aHeight New bar's height.
   191      * @param aHeight New bar's height.
   192      */
   192      */
   193     void SetHeight( TInt aHeight );
   193     void SetHeight( TInt aHeight );
   194 
   194 
   195     /**
   195     /**
       
   196      * Set bar's rect
       
   197      */
       
   198     void SetRect( const TRect& aRect );
       
   199     
       
   200     /**
   196      * Get size of the controlbar.
   201      * Get size of the controlbar.
   197      *
   202      *
   198      * @return Size of the controlbar.
   203      * @return Size of the controlbar.
   199      */
   204      */
   200     TSize Size() const;
   205     TSize Size() const;
   201 
   206 
       
   207     /**
       
   208      * Get top-left position
       
   209      */
       
   210     TPoint Pos() const;
       
   211     
   202 private:
   212 private:
   203 
   213 
   204     /**
   214     /**
   205      * Default constructor.
   215      * Default constructor.
   206      */
   216      */
   247     /**
   257     /**
   248      * Height default flag.
   258      * Height default flag.
   249      */
   259      */
   250     TBool iHeightUseDefault;
   260     TBool iHeightUseDefault;
   251 
   261 
       
   262     /**
       
   263      * Top-left position 
       
   264      */
       
   265     TPoint iTl;
   252     };
   266     };
   253 
   267 
   254 
   268 
   255 #endif // C_FSCONTROLBARMODEL_H
   269 #endif // C_FSCONTROLBARMODEL_H