javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/inc/swtlistview.h
branchRCL_3
changeset 34 71c436fe3ce0
parent 24 0fd27995241b
child 60 6c158198356e
equal deleted inserted replaced
25:9ac0a0a7da70 34:71c436fe3ce0
   124     HBufC*          MSKLabelL() const;
   124     HBufC*          MSKLabelL() const;
   125 #if defined( RD_SCALABLE_UI_V2)
   125 #if defined( RD_SCALABLE_UI_V2)
   126     void            HandlePointerEventL(const TPointerEvent& aPointerEvent);
   126     void            HandlePointerEventL(const TPointerEvent& aPointerEvent);
   127     const MSwtMenu* GetStylusPopupControlMenu() const;
   127     const MSwtMenu* GetStylusPopupControlMenu() const;
   128 #endif
   128 #endif
       
   129 #ifdef RD_JAVA_S60_RELEASE_9_2
       
   130     void            EnableFocusHighlight(TBool aEnable);
       
   131 #endif //RD_JAVA_S60_RELEASE_9_2
   129 
   132 
   130 // From MEikCommandObserver
   133 // From MEikCommandObserver
   131 public:
   134 public:
   132     void ProcessCommandL(TInt aCmdId);
   135     void ProcessCommandL(TInt aCmdId);
   133 
   136 
   152     CAknIconArray*  GetIconArray() const;
   155     CAknIconArray*  GetIconArray() const;
   153     CAknGridM*      GetGridModel() const;
   156     CAknGridM*      GetGridModel() const;
   154     CAknGridView*   GetGridView() const;
   157     CAknGridView*   GetGridView() const;
   155     CGulIcon*       CreateIconL(const MSwtImage* aIcon) const;
   158     CGulIcon*       CreateIconL(const MSwtImage* aIcon) const;
   156     void            DoGridCellLayoutL(const TSwtListViewDensity& aDensity);
   159     void            DoGridCellLayoutL(const TSwtListViewDensity& aDensity);
   157     void            LoadLayouts(const TSwtListViewDensity& aDensity, TSize& aCellSize, TRect& aIconRect, TRect& aSelRect, TRect& aTextRect, TInt& aTextCellFontId);
   160     void            LoadLayouts(const TSwtListViewDensity& aDensity, TSize& aCellSize,
       
   161                                 TRect& aIconRect, TRect& aSelRect, TRect& aTextRect,
       
   162                                 TInt& aTextCellFontId);
   158     void            CalcRowsColumns(const TSize& aCellSize, TInt& aXCells, TInt& aYCells) const;
   163     void            CalcRowsColumns(const TSize& aCellSize, TInt& aXCells, TInt& aYCells) const;
   159     void            AddTextL(const TDesC& aPtr, const TInt& aPos);
   164     void            AddTextL(const TDesC& aPtr, const TInt& aPos);
   160     void            AddIconL(const MSwtImage* aImage, const TInt& aPos);
   165     void            AddIconL(const MSwtImage* aImage, const TInt& aPos);
   161     void            AddItemL(const TDesC& aPtr, const MSwtImage* aImage, const TInt& aPos);
   166     void            AddItemL(const TDesC& aPtr, const MSwtImage* aImage, const TInt& aPos);
   162     void            UpdateIconIndexL(const TInt& arrayIndex);
   167     void            UpdateIconIndexL(const TInt& arrayIndex);
   198         CSwtLafFacade::TSwtLafFacadeTextId& aRectIdPaneT1,
   203         CSwtLafFacade::TSwtLafFacadeTextId& aRectIdPaneT1,
   199         CSwtLafFacade::TSwtLafFacadeFontId& aRectIdPaneT1Font
   204         CSwtLafFacade::TSwtLafFacadeFontId& aRectIdPaneT1Font
   200     ) const;
   205     ) const;
   201     void            CoerceCellRect(const TSwtListViewDensity& aDensity,
   206     void            CoerceCellRect(const TSwtListViewDensity& aDensity,
   202                                    TRect& aCellRect) const;
   207                                    TRect& aCellRect) const;
       
   208     void            UpdateFlickScrollingState(TListBoxEvent aEventType);
   203 
   209 
   204 #ifdef RD_JAVA_ADVANCED_TACTILE_FEEDBACK
   210 #ifdef RD_JAVA_ADVANCED_TACTILE_FEEDBACK
   205 public:
   211 public:
   206     void DoControlSpecificFeedback(
   212     void DoControlSpecificFeedback(
   207         const TBool& aFirstTap,
   213         const TBool& aFirstTap,
   335 
   341 
   336     /**
   342     /**
   337      * View visible rect at last draw
   343      * View visible rect at last draw
   338      */
   344      */
   339     mutable TRect iLastViewVisibleRect;
   345     mutable TRect iLastViewVisibleRect;
       
   346 
       
   347     /**
       
   348      * True when list is flick scrolling
       
   349      */
       
   350     TBool iFlickScrollingOngoing;
       
   351 
       
   352     /**
       
   353      * True when pointer events on scrollbar should be delivered to listbox
       
   354      */
       
   355     TBool iScrollbarPointerEventToListbox;
   340 };
   356 };
   341 
   357 
   342 
   358 
   343 #endif // SWTLISTVIEW_H
   359 #endif // SWTLISTVIEW_H