equal
deleted
inserted
replaced
841 virtual TBool IsCustomPageDownKey(TInt aKeyCode); |
841 virtual TBool IsCustomPageDownKey(TInt aKeyCode); |
842 |
842 |
843 /** |
843 /** |
844 * Sets icon for a mark sign. |
844 * Sets icon for a mark sign. |
845 * |
845 * |
846 * @param aMarkOnIcon Icon to mark items. |
846 * @param aMarkIcon Icon to mark items. |
847 */ |
847 */ |
848 virtual void SetMarkOnIcon( CAlfTexture& aMarkOnIcon ); |
848 virtual void SetMarkIcon( CAlfTexture& aMarkIcon ); |
849 |
849 |
850 /** |
850 /** |
851 * Sets icon for a mark sign. |
851 * Returns icon used to mark items. |
852 * |
852 */ |
853 * @param aMarkOffIcon Icon to unmark items. |
853 virtual CAlfTexture* MarkIcon( ); |
854 */ |
854 |
855 virtual void SetMarkOffIcon( CAlfTexture& aMarkOffIcon ); |
|
856 |
|
857 /** |
|
858 * Returns icon used to identify marked items. |
|
859 */ |
|
860 virtual CAlfTexture* MarkOnIcon( ); |
|
861 |
|
862 /** |
|
863 * Returns icon used to identify unmarked items. |
|
864 */ |
|
865 virtual CAlfTexture* MarkOffIcon( ); |
|
866 |
|
867 /** |
855 /** |
868 * Checks if item is marked and return status |
856 * Checks if item is marked and return status |
869 * @param aItemId item id to be checked |
857 * @param aItemId item id to be checked |
870 */ |
858 */ |
871 virtual TBool IsMarked( const TFsTreeItemId aItemId ) const; |
859 virtual TBool IsMarked( const TFsTreeItemId aItemId ) const; |
932 /** |
920 /** |
933 * Used internally by the list. To make the list focused/not focused use |
921 * Used internally by the list. To make the list focused/not focused use |
934 * CFsTreeList::SetFocusedL() instead. |
922 * CFsTreeList::SetFocusedL() instead. |
935 */ |
923 */ |
936 void SetFocusedL( const TBool aFocused ); |
924 void SetFocusedL( const TBool aFocused ); |
937 |
|
938 /** |
|
939 * Sets marking mode on\off |
|
940 * |
|
941 * @param ETrue if marking mode is set on |
|
942 */ |
|
943 |
|
944 void SetMarkingModeL( const TBool aMarkingMode ); |
|
945 |
925 |
946 /** |
926 /** |
947 * |
927 * |
948 * @param aTexture A custom texture for the selector. |
928 * @param aTexture A custom texture for the selector. |
949 * The texture is used to create an image brush. |
929 * The texture is used to create an image brush. |
1027 * |
1007 * |
1028 * @param aItem indicates item to be focused. |
1008 * @param aItem indicates item to be focused. |
1029 * |
1009 * |
1030 * @panic EFsListPanicInvalidItemID Item with specified ID is not found. |
1010 * @panic EFsListPanicInvalidItemID Item with specified ID is not found. |
1031 */ |
1011 */ |
|
1012 // <cmail> |
1032 virtual void SetFocusedItemL( const TFsTreeItemId aItem, TBool aCheckFocus = ETrue ); |
1013 virtual void SetFocusedItemL( const TFsTreeItemId aItem, TBool aCheckFocus = ETrue ); |
|
1014 // </cmail> |
1033 |
1015 |
1034 /** |
1016 /** |
1035 * Gets item vertical position in the list |
1017 * Gets item vertical position in the list |
1036 * |
1018 * |
1037 * @param aIdx indicates item index |
1019 * @param aIdx indicates item index |
1058 /** |
1040 /** |
1059 * Sets an item as first visible one in the list. |
1041 * Sets an item as first visible one in the list. |
1060 * |
1042 * |
1061 * @param aItemId Id of an item that will be displayed as first. |
1043 * @param aItemId Id of an item that will be displayed as first. |
1062 */ |
1044 */ |
|
1045 // <cmail> |
1063 virtual void SetFirstVisibleItemL( const TFsTreeItemId aItemId ); |
1046 virtual void SetFirstVisibleItemL( const TFsTreeItemId aItemId ); |
|
1047 // </cmail> |
1064 |
1048 |
1065 /** |
1049 /** |
1066 * Get an id of the first visible item. |
1050 * Get an id of the first visible item. |
1067 * |
1051 * |
1068 * @return Id of the first visible item. |
1052 * @return Id of the first visible item. |
1314 * @return ETrue if items are always in extended state, EFalse if items |
1298 * @return ETrue if items are always in extended state, EFalse if items |
1315 * are in normal state. |
1299 * are in normal state. |
1316 */ |
1300 */ |
1317 virtual TBool IsItemsAlwaysExtended ( ); |
1301 virtual TBool IsItemsAlwaysExtended ( ); |
1318 |
1302 |
1319 /* |
|
1320 * The function returns ETrue if marking mode is on |
|
1321 */ |
|
1322 virtual TBool IsMarkingMode ( ); |
|
1323 |
|
1324 /** |
1303 /** |
1325 * The function sets a text for empty list's view. |
1304 * The function sets a text for empty list's view. |
1326 * The function does not refresh the view automatically. |
1305 * The function does not refresh the view automatically. |
1327 * |
1306 * |
1328 * @param aText Text to be displayed. |
1307 * @param aText Text to be displayed. |
2190 CAlfDeckLayout* iBorderLayout; |
2169 CAlfDeckLayout* iBorderLayout; |
2191 |
2170 |
2192 /** |
2171 /** |
2193 * Icon used to mark items. |
2172 * Icon used to mark items. |
2194 */ |
2173 */ |
2195 CAlfTexture* iMarkOnIcon; |
2174 CAlfTexture* iMarkIcon; |
2196 |
2175 |
2197 /** |
|
2198 * Icon used to unmark items. |
|
2199 */ |
|
2200 CAlfTexture* iMarkOffIcon; |
|
2201 |
|
2202 /** |
2176 /** |
2203 * Icon indicating that item has menu. |
2177 * Icon indicating that item has menu. |
2204 */ |
2178 */ |
2205 CAlfTexture* iMenuIcon; |
2179 CAlfTexture* iMenuIcon; |
2206 |
2180 |
2394 |
2368 |
2395 /** |
2369 /** |
2396 * This flag is checked when trying to focus item. Focus is ignored |
2370 * This flag is checked when trying to focus item. Focus is ignored |
2397 * if list is being panned. |
2371 * if list is being panned. |
2398 */ |
2372 */ |
2399 EListPanning, |
2373 EListPanning |
2400 |
|
2401 /** |
|
2402 * Informs if marking mode is on |
|
2403 */ |
|
2404 EMarkingMode |
|
2405 }; |
2374 }; |
2406 |
2375 |
2407 // Flags |
2376 // Flags |
2408 TBitFlags iFlags; |
2377 TBitFlags iFlags; |
2409 |
2378 |