application/src/PodcastListView.cpp
branchnewlist
changeset 348 bd7f3de17443
parent 347 b8d687bb7ca1
child 352 31f9864a37ac
equal deleted inserted replaced
347:b8d687bb7ca1 348:bd7f3de17443
   152 void CPodcastListContainer::ScrollToVisible() {
   152 void CPodcastListContainer::ScrollToVisible() {
   153 	if (iListbox != NULL) {
   153 	if (iListbox != NULL) {
   154 		iListbox->ScrollToMakeItemVisible(iListbox->CurrentItemIndex());
   154 		iListbox->ScrollToMakeItemVisible(iListbox->CurrentItemIndex());
   155 	}
   155 	}
   156 }
   156 }
       
   157 
   157 void CPodcastListContainer::SizeChanged()
   158 void CPodcastListContainer::SizeChanged()
   158 {
   159 {
   159 	DP2("CPodcastListContainer::SizeChanged() BEGIN, width=%d, height=%d",Size().iWidth, Size().iHeight);
   160 	DP2("CPodcastListContainer::SizeChanged() BEGIN, width=%d, height=%d",Size().iWidth, Size().iHeight);
   160 
   161 
   161 	iLandscape = Size().iWidth > Size().iHeight;
   162 	iLandscape = Size().iWidth > Size().iHeight;