equal
deleted
inserted
replaced
22 #include "HgMarquee.h" |
22 #include "HgMarquee.h" |
23 #include "HgLayoutData.h" |
23 #include "HgLayoutData.h" |
24 #include "HgIndicatorManager.h" |
24 #include "HgIndicatorManager.h" |
25 #include "HgDrawUtils.h" |
25 #include "HgDrawUtils.h" |
26 #include "HgConstants.h" |
26 #include "HgConstants.h" |
|
27 #include "HgScrollbar.h" |
27 |
28 |
28 #include <AknsUtils.h> |
29 #include <AknsUtils.h> |
29 #include <AknUtils.h> |
30 #include <AknUtils.h> |
30 #include <AknsDrawUtils.h> |
31 #include <AknsDrawUtils.h> |
31 |
32 |
85 iLayoutData->SetItemLayout(list_double_pane( 0 )); |
86 iLayoutData->SetItemLayout(list_double_pane( 0 )); |
86 for(TInt i = 0; i <= KMaxNumberOfTitleIndicators; ++i) |
87 for(TInt i = 0; i <= KMaxNumberOfTitleIndicators; ++i) |
87 iLayoutData->SetTitleLayout(i, list_double_pane_t1( i )); |
88 iLayoutData->SetTitleLayout(i, list_double_pane_t1( i )); |
88 iLayoutData->SetTextLayout(list_double_pane_t2( 2 )); |
89 iLayoutData->SetTextLayout(list_double_pane_t2( 2 )); |
89 iLayoutData->SetFirstIndicatorLayout(list_double_pane_g2(0)); |
90 iLayoutData->SetFirstIndicatorLayout(list_double_pane_g2(0)); |
90 iLayoutData->SetSecondIndicatorLayout(list_double_pane_g1(1)); |
91 TInt variety = iScrollbar && !iScrollbar->IsStatic() ? 1 : 0; |
|
92 iLayoutData->SetSecondIndicatorLayout(list_double_pane_g1(variety)); |
91 |
93 |
92 // Get the Row rect. |
94 // Get the Row rect. |
93 TAknLayoutRect layout; |
95 TAknLayoutRect layout; |
94 layout.LayoutRect(ListRect(), iLayoutData->ItemLayout()); |
96 layout.LayoutRect(ListRect(), iLayoutData->ItemLayout()); |
95 iRowHeight = layout.Rect().Height(); |
97 iRowHeight = layout.Rect().Height(); |
181 : CHgList( aItemCount, aDefaultIcon ) |
183 : CHgList( aItemCount, aDefaultIcon ) |
182 { |
184 { |
183 |
185 |
184 } |
186 } |
185 |
187 |
|
188 // ----------------------------------------------------------------------------- |
|
189 // CHgDoubleTextList::HandleScrollbarVisibilityChange() |
|
190 // ----------------------------------------------------------------------------- |
|
191 // |
|
192 void CHgDoubleTextList::HandleScrollbarVisibilityChange( TBool aVisible ) |
|
193 { |
|
194 TInt variety = aVisible ? 1 : 0; |
|
195 iLayoutData->SetSecondIndicatorLayout(list_double_pane_g1(variety)); |
|
196 } |
|
197 |
|
198 // End of file |