equal
deleted
inserted
replaced
38 class CEikScrollBarFrame; |
38 class CEikScrollBarFrame; |
39 class CEikButtonBase; |
39 class CEikButtonBase; |
40 class CMatchBuffer; |
40 class CMatchBuffer; |
41 class CListBoxExt; |
41 class CListBoxExt; |
42 class CEikListBox; |
42 class CEikListBox; |
|
43 class MAknMarkingModeObserver; |
43 |
44 |
44 // CLASS DECLARATION |
45 // CLASS DECLARATION |
45 |
46 |
46 /** |
47 /** |
47 * Item change observer will be notified when list box items have been added or |
48 * Item change observer will be notified when list box items have been added or |
1528 * |
1529 * |
1529 * @since S60 5.2 |
1530 * @since S60 5.2 |
1530 */ |
1531 */ |
1531 IMPORT_C TBool IsHighlightEnabled(); |
1532 IMPORT_C TBool IsHighlightEnabled(); |
1532 |
1533 |
|
1534 /** |
|
1535 * Turns the marking mode on / off. |
|
1536 * |
|
1537 * @since S60 5.2 |
|
1538 * |
|
1539 * @param aEnable @c ETrue to turn marking mode on |
|
1540 * @c EFalse to turn marking mode off |
|
1541 */ |
|
1542 IMPORT_C void SetMarkingMode( TBool aEnable ); |
|
1543 |
|
1544 /** |
|
1545 * Sets the marking mode observer. |
|
1546 * |
|
1547 * @since S60 5.2 |
|
1548 * |
|
1549 * @param aObserver Marking mode observer, @c NULL removes the existing |
|
1550 * observer. |
|
1551 */ |
|
1552 IMPORT_C void SetMarkingModeObserver( MAknMarkingModeObserver* aObserver ); |
|
1553 |
1533 private: |
1554 private: |
1534 IMPORT_C virtual void CEikListBox_Reserved(); // listbox use only |
1555 IMPORT_C virtual void CEikListBox_Reserved(); // listbox use only |
1535 void HorizontalScroll(TInt aScrollAmountInPixels); |
1556 void HorizontalScroll(TInt aScrollAmountInPixels); |
1536 void DrawItemInView(TInt aItemIndex) const; |
1557 void DrawItemInView(TInt aItemIndex) const; |
1537 void ClearMargins(CWindowGc& aGc) const; |
1558 void ClearMargins(CWindowGc& aGc) const; |
1571 * @internal |
1592 * @internal |
1572 * @since 5.0 |
1593 * @since 5.0 |
1573 */ |
1594 */ |
1574 void UpdateHighlightL( TInt aItemIndex ); |
1595 void UpdateHighlightL( TInt aItemIndex ); |
1575 |
1596 |
|
1597 /** |
|
1598 * Checks whether marking mode is on or off. |
|
1599 * |
|
1600 * @since S60 5.2 |
|
1601 * |
|
1602 * @return @c ETrue if marking mode is on, otherwise @c EFalse |
|
1603 */ |
|
1604 TBool MarkingMode() const; |
|
1605 |
|
1606 /** |
|
1607 * Returns the marking mode observer. |
|
1608 * |
|
1609 * @since S60 5.2 |
|
1610 * |
|
1611 * @return Pointer to the marking mode observer. |
|
1612 */ |
|
1613 MAknMarkingModeObserver* MarkingModeObserver(); |
|
1614 |
1576 public: |
1615 public: |
1577 /** |
1616 /** |
1578 * Sets this control as visible or invisible. |
1617 * Sets this control as visible or invisible. |
1579 * |
1618 * |
1580 * @param aVisible ETrue to make the control visible, EFalse to make |
1619 * @param aVisible ETrue to make the control visible, EFalse to make |