equal
deleted
inserted
replaced
74 /** |
74 /** |
75 * Returns index of ChoiceGroup element, which is the first |
75 * Returns index of ChoiceGroup element, which is the first |
76 * visible element in ChoiceGroup from top of Form. |
76 * visible element in ChoiceGroup from top of Form. |
77 */ |
77 */ |
78 TInt TopVisibleItemIndex(); |
78 TInt TopVisibleItemIndex(); |
|
79 |
|
80 /** |
|
81 * Fuction sets ESingleClickDisabledHighlight - item drawer flags |
|
82 * and reports current highlight element change event |
|
83 */ |
|
84 void SingleClickDisableHighlightL(TBool aDisable); |
|
85 void SetHighlight(TBool aVisible); |
|
86 |
79 #endif // RD_JAVA_S60_RELEASE_9_2 |
87 #endif // RD_JAVA_S60_RELEASE_9_2 |
80 |
88 |
81 #ifdef RD_TACTILE_FEEDBACK |
89 #ifdef RD_TACTILE_FEEDBACK |
82 private: |
90 private: |
83 MTouchFeedback* iFeedback; |
91 MTouchFeedback* iFeedback; |
90 virtual void CreateModelL(); |
98 virtual void CreateModelL(); |
91 |
99 |
92 private: |
100 private: |
93 void SetTextColors(); |
101 void SetTextColors(); |
94 |
102 |
|
103 /** |
|
104 * Checks if highlight is needed |
|
105 * @param aCurrentSelected - currently selected item |
|
106 * @param aKeyEvent |
|
107 * @return EFalse when highlight is not needed |
|
108 */ |
|
109 TBool IsHighlightNeeded(TInt aCurrentSelected, const TKeyEvent& aKeyEvent); |
|
110 |
95 #ifdef RD_JAVA_S60_RELEASE_9_2 |
111 #ifdef RD_JAVA_S60_RELEASE_9_2 |
96 /** |
112 /** |
97 * Fuction calculates index of element, which is the first |
113 * Fuction calculates index of element, which is the first |
98 * visible element in ChoiceGroup from top of Form. |
114 * visible element in ChoiceGroup from top of Form. |
99 */ |
115 */ |
100 void UpdateTopVisibleItemIndex(); |
116 void UpdateTopVisibleItemIndex(); |
|
117 |
101 #endif // RD_JAVA_S60_RELEASE_9_2 |
118 #endif // RD_JAVA_S60_RELEASE_9_2 |
102 |
119 |
103 private: |
120 private: |
104 CMIDChoiceGroupControl* iChoiceControl; |
121 CMIDChoiceGroupControl* iChoiceControl; |
105 |
122 |