emailuis/uicomponents/inc/fstreevisualizerbase.h
branchRCL_3
changeset 10 f5907b1a1053
parent 8 e1b6206813b4
child 12 4ce476e64c59
equal deleted inserted replaced
8:e1b6206813b4 10:f5907b1a1053
   143 
   143 
   144     /**
   144     /**
   145      * Get items in range aY to aY + aHeight. Also returns offset by which the listlayout
   145      * Get items in range aY to aY + aHeight. Also returns offset by which the listlayout
   146      * needs to be scrolled (e.g. the first item in list might be only partly visible)
   146      * needs to be scrolled (e.g. the first item in list might be only partly visible)
   147      */
   147      */
   148     void GetItemsL( RArray<TFsTreeItemId>& aItems, TInt aY, TInt aHeight, TInt& aOffset );
   148     void GetItemsL( RArray<TFsTreeItemId>& aItems, TInt aY, TInt aHeight, TInt& aOffset,
       
   149             TInt& aBeginIndex );
   149 
   150 
   150     /**
   151     /**
   151      * Returns full height of the world (in pixels).
   152      * Returns full height of the world (in pixels).
   152      */
   153      */
   153     TInt Height() const;
   154     TInt Height() const;
   165 
   166 
   166     /**
   167     /**
   167      * Returns item's rect.
   168      * Returns item's rect.
   168      */
   169      */
   169     TInt GetItemRect( const TFsTreeItemId, TRect& aRect ) const;
   170     TInt GetItemRect( const TFsTreeItemId, TRect& aRect ) const;
       
   171 
       
   172     /**
       
   173      * Returns item's rect, scan starts from aStartIndex.
       
   174      */
       
   175     TInt GetItemRect( const TFsTreeItemId, TRect& aRect, const TInt aStartIndex ) const;
   170 
   176 
   171     /**
   177     /**
   172      * Returns item's rect by index in world.
   178      * Returns item's rect by index in world.
   173      */
   179      */
   174     TInt GetItemRectByIndex(const TInt aIndex, TRect& aRect) const;
   180     TInt GetItemRectByIndex(const TInt aIndex, TRect& aRect) const;
   553     // Size of the viewport
   559     // Size of the viewport
   554     TSize iSize;
   560     TSize iSize;
   555 
   561 
   556     // Viewport cache
   562     // Viewport cache
   557     TCache iCache;
   563     TCache iCache;
       
   564     
       
   565     // Wold index of the first item in Cache
       
   566     TInt iWorldIndex;
   558 
   567 
   559     };
   568     };
   560 
   569 
   561 /**
   570 /**
   562  * Visualizer class for the hierarchical tree list.
   571  * Visualizer class for the hierarchical tree list.
  2343         EExpandCollapseOnLongTap,
  2352         EExpandCollapseOnLongTap,
  2344 
  2353 
  2345         /**
  2354         /**
  2346          * Do physics update when simulation has finished.
  2355          * Do physics update when simulation has finished.
  2347          */
  2356          */
  2348         EUpdatePhysicsAfterSimulationFinished
  2357         EUpdatePhysicsAfterSimulationFinished,
       
  2358         
       
  2359 		/**
       
  2360 		 * Ignore next pointer up event.
       
  2361 		 */
       
  2362         EIgnorePointerUpAction
  2349     };
  2363     };
  2350 
  2364 
  2351     // Flags
  2365     // Flags
  2352     TBitFlagsT<TUint> iFlags;
  2366     TBitFlagsT<TUint> iFlags;
  2353 
  2367