camerauis/cameraapp/generic/common/inc/CamCaptureSetupListItemDrawer.h
branchRCL_3
changeset 12 8c55c525d5d7
parent 0 1ddebce53859
equal deleted inserted replaced
11:792dfc98fb3b 12:8c55c525d5d7
    43         * Symbian OS two-phased constructor
    43         * Symbian OS two-phased constructor
    44         * @since 2.8
    44         * @since 2.8
    45         * @param aListBoxModel reference to a list box model used to access item data
    45         * @param aListBoxModel reference to a list box model used to access item data
    46         * @return pointer to the newly created object
    46         * @return pointer to the newly created object
    47         */
    47         */
    48         static CCamCaptureSetupListItemDrawer* NewL( MCamListboxModel& aListBoxModel );        
    48         static CCamCaptureSetupListItemDrawer* NewL( MCamListboxModel& aListBoxModel, TBool aFullySkinned = EFalse );        
    49 
    49 
    50         /**
    50         /**
    51         * Destructor.
    51         * Destructor.
    52         * @since 2.8
    52         * @since 2.8
    53         */
    53         */
    66         /**
    66         /**
    67         * C++ default constructor.
    67         * C++ default constructor.
    68         * @since 2.8
    68         * @since 2.8
    69 		* @param aListBoxModel reference to a list box model used to access item data
    69 		* @param aListBoxModel reference to a list box model used to access item data
    70         */
    70         */
    71         CCamCaptureSetupListItemDrawer( MCamListboxModel& aListBoxModel );
    71         CCamCaptureSetupListItemDrawer( MCamListboxModel& aListBoxModel, TBool aFullySkinned = EFalse );
    72 
    72 
    73 		/**
    73 		/**
    74         * Second phase construction
    74         * Second phase construction
    75         */
    75         */
    76         void ConstructL();
    76         void ConstructL();
   129 		* @param the rectangular area to be drawn.
   129 		* @param the rectangular area to be drawn.
   130         */
   130         */
   131         void DrawItemRect( const TRect& aActualItemRect ) const;
   131         void DrawItemRect( const TRect& aActualItemRect ) const;
   132 
   132 
   133         /**
   133         /**
       
   134         * Draws a rectangle for an item.
       
   135         * @since 2.8
       
   136         * @param the rectangular area to be drawn.
       
   137         */
       
   138         void DrawTransparentItemRect( const TRect& aActualItemRect ) const;
       
   139 
       
   140         /**
   134         * Read list layout
   141         * Read list layout
   135         */
   142         */
   136         void ReadLayout();
   143         void ReadLayout();
   137         
   144         
   138         void CreateIconAndAddToArrayL( CArrayPtr<CGulIcon>*& aIconArray,
   145         void CreateIconAndAddToArrayL( CArrayPtr<CGulIcon>*& aIconArray,
   160         TAknTextComponentLayout   iTxtLayout;   
   167         TAknTextComponentLayout   iTxtLayout;   
   161         TAknWindowComponentLayout iBmpLayout;
   168         TAknWindowComponentLayout iBmpLayout;
   162         TAknTextComponentLayout   iTxtWithRbLayout;
   169         TAknTextComponentLayout   iTxtWithRbLayout;
   163         TAknWindowComponentLayout iBmpWithRbLayout;
   170         TAknWindowComponentLayout iBmpWithRbLayout;
   164         TAknWindowComponentLayout iHighlightLayout;
   171         TAknWindowComponentLayout iHighlightLayout;
       
   172         // Drawing mode
       
   173         TBool iFullySkinned;
   165 	};
   174 	};
   166 
   175 
   167 #endif      // CAMCAPTURESETUPLISTITEMDRAWER_H
   176 #endif      // CAMCAPTURESETUPLISTITEMDRAWER_H
   168             
   177             
   169 // End of File
   178 // End of File