equal
deleted
inserted
replaced
64 * |
64 * |
65 * @param aSupportLandscapeScrolling Landscape scrolling supported or not. |
65 * @param aSupportLandscapeScrolling Landscape scrolling supported or not. |
66 */ |
66 */ |
67 IMPORT_C void SetLandscapeScrollingSupport( TBool aSupportLandscapeScrolling ); |
67 IMPORT_C void SetLandscapeScrollingSupport( TBool aSupportLandscapeScrolling ); |
68 |
68 |
|
69 /** |
|
70 * Set toolbar visibilty. The toolbar visibility ETrue changes the lanscape layout to |
|
71 * fill the toolbar space with grid content. |
|
72 * |
|
73 * @param aToolbarVisible Is toolbar visible or not. |
|
74 */ |
|
75 IMPORT_C void SetToolbarVisibility( TBool aToolbarVisible ); |
|
76 |
69 protected: // CHgScroller |
77 protected: // CHgScroller |
70 TInt GetSelected( TPoint aPosition ) const; |
78 TInt GetSelected( TPoint aPosition ) const; |
71 void HandleSizeChanged(); |
79 void HandleSizeChanged(); |
72 void InitItemsL(); |
80 void InitItemsL(); |
73 TSize TotalSize() const; |
81 TSize TotalSize() const; |
108 TInt iRows; // Total number of rows to display |
116 TInt iRows; // Total number of rows to display |
109 TInt iCols; // Total number of cols to display |
117 TInt iCols; // Total number of cols to display |
110 |
118 |
111 TInt iRowWidth; |
119 TInt iRowWidth; |
112 TBool iLandScapeScrollingSupported; |
120 TBool iLandScapeScrollingSupported; |
|
121 TBool iToolbarVisible; |
113 }; |
122 }; |
114 |
123 |
115 #endif // HGGRID_H_ |
124 #endif // HGGRID_H_ |
116 // End of File |
125 // End of File |