javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/inc/swtlistbase.h
branchRCL_3
changeset 19 71c436fe3ce0
parent 17 0fd27995241b
child 24 6c158198356e
equal deleted inserted replaced
18:9ac0a0a7da70 19:71c436fe3ce0
   240      * Get current state of list selection.
   240      * Get current state of list selection.
   241      * @param aCurrSelItems resulting array of selected items.
   241      * @param aCurrSelItems resulting array of selected items.
   242      */
   242      */
   243     void GetUserSelectionL(CArrayFix<TInt>* aCurrSelItems);
   243     void GetUserSelectionL(CArrayFix<TInt>* aCurrSelItems);
   244 
   244 
       
   245     /**
       
   246      * Updates flick scrolling status.
       
   247      * @param aEventType CEikListbox event type.
       
   248      */
       
   249     void UpdateFlickScrollingState(TListBoxEvent aEventType);
       
   250 
   245 // From CCoeControl
   251 // From CCoeControl
   246 public:
   252 public:
   247     TInt CountComponentControls() const;
   253     TInt CountComponentControls() const;
   248     CCoeControl* ComponentControl(TInt aIndex) const;
   254     CCoeControl* ComponentControl(TInt aIndex) const;
   249     void MakeVisible(TBool aVisible);
   255     void MakeVisible(TBool aVisible);
   278     TBool IsKeyUsed(TUint aKeyCode) const;
   284     TBool IsKeyUsed(TUint aKeyCode) const;
   279     TRgb GetForeground() const;
   285     TRgb GetForeground() const;
   280     void SetForegroundL(const MSwtColor* aColor);
   286     void SetForegroundL(const MSwtColor* aColor);
   281     void SetBackgroundL(const MSwtColor* aColor);
   287     void SetBackgroundL(const MSwtColor* aColor);
   282     TBool IsLongTapAnimationCandidate(const TPointerEvent& aPointerEvent) const;
   288     TBool IsLongTapAnimationCandidate(const TPointerEvent& aPointerEvent) const;
       
   289 #ifdef RD_JAVA_S60_RELEASE_9_2
       
   290     void EnableFocusHighlight(TBool aEnable);
       
   291 #endif //RD_JAVA_S60_RELEASE_9_2
   283 
   292 
   284 // From ASwtScrollableBase
   293 // From ASwtScrollableBase
   285 protected:
   294 protected:
   286     CEikScrollBarFrame* SbFrame() const;
   295     CEikScrollBarFrame* SbFrame() const;
   287 
   296 
   366 
   375 
   367     /**
   376     /**
   368      * View visible rect at last draw
   377      * View visible rect at last draw
   369      */
   378      */
   370     mutable TRect iLastViewVisibleRect;
   379     mutable TRect iLastViewVisibleRect;
       
   380 
       
   381     /**
       
   382      * True when list is flick scrolling
       
   383      */
       
   384     TBool iFlickScrollingOngoing;
       
   385 
       
   386     /**
       
   387      * True when pointer events on scrollbar should be delivered to listbox
       
   388      */
       
   389     TBool iScrollbarPointerEventToListbox;
   371 };
   390 };
   372 
   391 
   373 
   392 
   374 #endif // SWTLISTBASE_H
   393 #endif // SWTLISTBASE_H