equal
deleted
inserted
replaced
21 #include "HgMarquee.h" |
21 #include "HgMarquee.h" |
22 #include "HgLayoutData.h" |
22 #include "HgLayoutData.h" |
23 #include "HgIndicatorManager.h" |
23 #include "HgIndicatorManager.h" |
24 #include "HgDrawUtils.h" |
24 #include "HgDrawUtils.h" |
25 #include "HgConstants.h" |
25 #include "HgConstants.h" |
|
26 #include "HgScrollbar.h" |
26 |
27 |
27 #include <AknsUtils.h> |
28 #include <AknsUtils.h> |
28 #include <AknUtils.h> |
29 #include <AknUtils.h> |
29 #include <AknsDrawUtils.h> |
30 #include <AknsDrawUtils.h> |
30 |
31 |
85 iLayoutData->SetItemLayout(list_single_large_graphic_pane( 0, 0 )); |
86 iLayoutData->SetItemLayout(list_single_large_graphic_pane( 0, 0 )); |
86 iLayoutData->SetIconLayout(list_single_large_graphic_pane_g1( 2 )); |
87 iLayoutData->SetIconLayout(list_single_large_graphic_pane_g1( 2 )); |
87 for(TInt i = 0; i <= KMaxNumberOfTitleIndicators; ++i) |
88 for(TInt i = 0; i <= KMaxNumberOfTitleIndicators; ++i) |
88 iLayoutData->SetTitleLayout( i, list_single_large_graphic_pane_t1( i )); |
89 iLayoutData->SetTitleLayout( i, list_single_large_graphic_pane_t1( i )); |
89 iLayoutData->SetFirstIndicatorLayout(list_single_large_graphic_pane_g3(0)); |
90 iLayoutData->SetFirstIndicatorLayout(list_single_large_graphic_pane_g3(0)); |
90 iLayoutData->SetSecondIndicatorLayout(list_single_large_graphic_pane_g2(1)); |
91 TInt variety = iScrollbar && !iScrollbar->IsStatic() ? 1 : 0; |
|
92 iLayoutData->SetSecondIndicatorLayout(list_single_large_graphic_pane_g2(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(); |
173 : CHgList( aItemCount, aDefaultIcon ) |
175 : CHgList( aItemCount, aDefaultIcon ) |
174 { |
176 { |
175 |
177 |
176 } |
178 } |
177 |
179 |
178 |
180 // ----------------------------------------------------------------------------- |
|
181 // CHgSingleLargeList::HandleScrollbarVisibilityChange() |
|
182 // ----------------------------------------------------------------------------- |
|
183 // |
|
184 void CHgSingleLargeList::HandleScrollbarVisibilityChange( TBool aVisible ) |
|
185 { |
|
186 TInt variety = aVisible ? 1 : 0; |
|
187 iLayoutData->SetSecondIndicatorLayout(list_single_large_graphic_pane_g2(variety)); |
|
188 } |
179 |
189 |
180 // End of file |
190 // End of file |