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; |