menufw/menufwui/mmwidgets/inc/mmlistboxitemdrawer.h
branchRCL_3
changeset 38 79311d856354
parent 16 9674c1a575e9
child 50 137ebc85284b
equal deleted inserted replaced
34:d05a55b217df 38:79311d856354
    10 * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11 *
    11 *
    12 * Contributors:
    12 * Contributors:
    13 *
    13 *
    14 * Description:  CMmListBoxItemDrawer
    14 * Description:  CMmListBoxItemDrawer
    15 *  Version     : %version: MM_38.1.16 % << Don't touch! Updated by Synergy at check-out.
    15 *  Version     : %version: MM_38.1.17 % << Don't touch! Updated by Synergy at check-out.
    16 *
    16 *
    17 */
    17 */
    18 
    18 
    19 
    19 
    20 #ifndef C_MMLISTBOXITEMDRAWER_H
    20 #ifndef C_MMLISTBOXITEMDRAWER_H
   236      * @param aRedraw Should background be redrawn.
   236      * @param aRedraw Should background be redrawn.
   237      */
   237      */
   238     void SetRedrawItemBackground( TBool aRedraw );
   238     void SetRedrawItemBackground( TBool aRedraw );
   239 
   239 
   240     /**
   240     /**
       
   241      * Sets condition if separator line should be drawn.
       
   242      *
       
   243      * @since S60 v3.0
       
   244      * @param aRedraw Should separator line be drawn.
       
   245      */
       
   246     void SetDrawSeparatorLines( TBool aDraw );
       
   247 
       
   248     /**
   241      * Checks if item background redrawing is enabled.
   249      * Checks if item background redrawing is enabled.
   242      *
   250      *
   243      * @since S60 v3.0
   251      * @since S60 v3.0
   244      * @return Is background redrawing enabled.
   252      * @return Is background redrawing enabled.
   245      */
   253      */
   468 	 * @param aDrawn Should highlight and move indicators be drawn.
   476 	 * @param aDrawn Should highlight and move indicators be drawn.
   469 	 */
   477 	 */
   470 	void SetHighlightShown( TBool aDrawn );
   478 	void SetHighlightShown( TBool aDrawn );
   471 
   479 
   472     /**
   480     /**
   473      * Draws background and separator lines.
   481      * Draws background.
   474      *
   482      *
   475      * @since S60 v3.0
   483      * @since S60 v3.0
   476      * @param aItemTextRect Item rectangle.
   484      * @param aItemTextRect Item rectangle.
   477      */
   485      */
   478     void DrawBackgroundAndSeparatorLines( const TRect& aItemTextRect ) const;
   486     void DrawBackground( const TRect& aItemTextRect ) const;
   479 
   487 
   480 protected:
   488 protected:
   481     /**
   489     /**
   482      * From CListItemDrawer. Draws an item.
   490      * From CListItemDrawer. Draws an item.
   483      *
   491      *
   798      * Redraw background flag.
   806      * Redraw background flag.
   799      */
   807      */
   800     TBool iRedrawBackground;
   808     TBool iRedrawBackground;
   801 
   809 
   802     /**
   810     /**
       
   811      * Draw separators flag.
       
   812      */
       
   813     TBool iDrawSeparatorLines;
       
   814 
       
   815     /**
   803      * Ratio of zooming animation.
   816      * Ratio of zooming animation.
   804      */
   817      */
   805     TReal iIconAnimationZoomRatio;
   818     TReal iIconAnimationZoomRatio;
   806 
   819 
   807     /**
   820     /**