classicui_pub/misc_controls_api/inc/eikcapca.h
branchRCL_3
changeset 17 a1caeb42b3a3
parent 0 2f259fa3e83a
equal deleted inserted replaced
15:c52421ed5f07 17:a1caeb42b3a3
   110      *
   110      *
   111      * @param aDensePacking whether dense packing flag is on
   111      * @param aDensePacking whether dense packing flag is on
   112   	 */
   112   	 */
   113 	IMPORT_C void SetDensePacking(TBool aDensePacking);
   113 	IMPORT_C void SetDensePacking(TBool aDensePacking);
   114 	TBool CalcItemIndexes(TInt &aTopItemIndex, TInt &aMiddleItems, TInt &aBottomItemIndex, TSize aAreaSize);
   114 	TBool CalcItemIndexes(TInt &aTopItemIndex, TInt &aMiddleItems, TInt &aBottomItemIndex, TSize aAreaSize);
   115 	TInt NumberOfTextLines() const; // for scrollbar
       
   116 	TInt NumberOfTextLinesBeforeLine(TInt aLine) const;
       
   117 	TInt FindItemFromTextLine(TInt aTextLine) const;
       
   118 	TRect Rect() const;
   115 	TRect Rect() const;
   119 	void SetRect(const TRect& aRect, TInt aTop, TInt aMiddle, TInt aBottom);
   116 	void SetRect(const TRect& aRect, TInt aTop, TInt aMiddle, TInt aBottom);
   120 	TInt YPosToLine(const TRect &aRect, TInt aTop, TInt aMiddle, TInt aBottom, TInt aYCoord);
       
   121 	void CreateExtensionL();
   117 	void CreateExtensionL();
   122 	CEikCapCArrayExtension *ExtensionOrNull() const;
   118 	CEikCapCArrayExtension *ExtensionOrNull() const;
   123 	
       
   124 	/**
       
   125      * Scrolls each item by aDelta pixels in y direction.
       
   126      */
       
   127 	TInt ScrollByPixels( TInt aDelta );
       
   128 	
   119 	
   129 	/**
   120 	/**
   130      * Return the index of the line at aYPos.
   121      * Return the index of the line at aYPos.
   131      */
   122      */
   132 	TInt YPositionToLineIndex( TInt aYPos ) const;
   123 	TInt YPositionToLineIndex( TInt aYPos ) const;
   157     * Positions controls in real locations.
   148     * Positions controls in real locations.
   158     */
   149     */
   159     void SetRealRect( const TRect& aRect, TInt aTop, TInt aBottom );
   150     void SetRealRect( const TRect& aRect, TInt aTop, TInt aBottom );
   160 	
   151 	
   161 private:
   152 private:
   162 	//TInt iCaptionWidth;
       
   163 	CEikCapCArrayExtension *iExtension;
   153 	CEikCapCArrayExtension *iExtension;
   164 	TBool iDensePacking;
   154 	TBool iDensePacking;
   165 	//TRect iRect;
       
   166 	};
   155 	};
   167 
   156 
   168 #endif
   157 #endif