--- a/phonebookui/Phonebook2/UIControls/inc/CPbk2ContactViewListBox.h Thu Jul 15 18:22:55 2010 +0300
+++ b/phonebookui/Phonebook2/UIControls/inc/CPbk2ContactViewListBox.h Thu Aug 19 09:41:07 2010 +0300
@@ -178,6 +178,14 @@
void HandlePopupCharacter( CWindowGc* aGc,
const TRect& aRectOfListBoxItem ) const;
+ /**
+ * Set the state of the Marking mode
+ */
+ inline void SetMarkingModeState( TBool aActived )
+ {
+ iMarkingModeOn = aActived;
+ }
+
public: // From MPbk2ClipListBoxText
TBool ClipFromBeginning(
TDes& aBuffer,
@@ -226,6 +234,9 @@
TBool IsContact( TInt aIndex ) const;
+ private:
+ void RecalcWidthInMarkingMode( TInt& aWidth, const CFont& aFont, TChar aChar );
+
private: // Data structures
/// Data loaded from resources
struct TResourceData
@@ -266,6 +277,8 @@
CPbk2PredictiveSearchFilter &iSearchFilter;
// ref: used fro checking command item count
CCoeControl& iContainer;
+ // Flag to indicate whether Marking mode is active
+ TBool iMarkingModeOn;
};