Change-Id: I7cdcf9e4c357e0f95687306cebfe64119546ef64
Signed-off-by: Himanshu Talwar <himanshu.t@samsung.com>
virtual void OnSlideSettingPopUpItemSelected(int index);
+ void SetFooterState(bool state);
+
private:
result InitializeFooter(void);
if (pFileListForm != null)
{
pFileListForm->SetTitleText(__pPresentationModel->GetCurrentAlbumName());
+
+ if( __itemCount == 0)
+ {
+ pFileListForm->SetFooterState(false);
+ }
+ else
+ {
+ pFileListForm->SetFooterState(true);
+ }
+
}
__pPresentationModel->AddContentEventListener(pFileListForm);
}
pSceneManager->GoForward(ForwardSceneTransition(IDSCN_SETTING_MAIN));
}
}
+
+void
+FileListForm::SetFooterState(bool state)
+{
+ GetFooter()->SetButtonEnabled(BUTTON_POSITION_LEFT,state);
+ GetFooter()->Invalidate(true);
+}