default:
break;
}
+
+ HideFooterItems();
}
else if (&source == __pListPreviewFormat)
{
CameraCaptureForm::OnActionPerformed(const Tizen::Ui::Control& source, int actionId)
{
AppLog("Enter actionid = %d", actionId);
+ ShowFooterItems();
+
switch (actionId)
{
case ID_BUTTON_BACK:
HidePopUp(__pPopupExposure);
DeletePopup(&__pPopupExposure);
__pExposureSlider = null;
- ShowFooterItems();
}
break;
HidePopUp(__pPopupBrightness);
DeletePopup(&__pPopupBrightness);
__pBrightnessSlider = null;
- ShowFooterItems();
}
break;
HidePopUp(__pPopupContrast);
DeletePopup(&__pPopupContrast);
__pContrastSlider = null;
- ShowFooterItems();
}
break;
HidePopUp(__pPopupZoom);
DeletePopup(&__pPopupZoom);
__pZoomLevelSlider = null;
- ShowFooterItems();
}
break;
{
HidePopUp(__pPopupPreviewFormat);
DeletePopup(&__pPopupPreviewFormat);
- ShowFooterItems();
}
break;
{
HidePopUp(__pPopupFlashMode);
DeletePopup(&__pPopupFlashMode);
- ShowFooterItems();
}
break;
__pExposureSlider->SetTitleText(strTemp);
ShowPopUp(__pPopupExposure);
- EnableFooterItem(ID_BUTTON_SETTING, false);
- EnableFooterItem(ID_BUTTON_CAPTURE, false);
- GetFooter()->Draw();
-
return;
CATCH:
DeletePopup(&__pPopupExposure);
__pBrightnessSlider->SetTitleText(strTemp);
ShowPopUp(__pPopupBrightness);
- EnableFooterItem(ID_BUTTON_SETTING, false);
- EnableFooterItem(ID_BUTTON_CAPTURE, false);
- GetFooter()->Draw();
-
return;
CATCH:
DeletePopup(&__pPopupBrightness);
ShowPopUp(__pPopupContrast);
- EnableFooterItem(ID_BUTTON_SETTING, false);
- EnableFooterItem(ID_BUTTON_CAPTURE, false);
- GetFooter()->Draw();
-
return;
CATCH:
DeletePopup(&__pPopupContrast);
__pZoomLevelSlider->SetTitleText(strTemp);
ShowPopUp(__pPopupZoom);
- EnableFooterItem(ID_BUTTON_SETTING, false);
- EnableFooterItem(ID_BUTTON_CAPTURE, false);
- GetFooter()->Draw();
-
return;
CATCH:
DeletePopup(&__pPopupZoom);
EnableFooterItem(ID_BUTTON_CAPTURE, true);
GetFooter()->Invalidate(true);
}
+
+void
+CameraCaptureForm::HideFooterItems(void)
+{
+ EnableFooterItem(ID_BUTTON_SETTING, false);
+ EnableFooterItem(ID_BUTTON_CAPTURE, false);
+ GetFooter()->Invalidate(true);
+}
int GetIndexFromValue(Tizen::Base::Collection::IListT< int >* pList, int value);
int GetIndexFromValue(Tizen::Base::Collection::IList* pList, Tizen::Graphics::Dimension& value);
void ShowFooterItems(void);
+ void HideFooterItems(void);
result ShowError(result r, const char* pMethod, const char* pSrcfileName, int lineNo);
void ShowErrorVoid(result r, const char* pMethod, const char* pSrcfileName, int lineNo);
result CreatePopUp(Popup** pPopupCtrl, String title, Tizen::Graphics::Dimension dimension, bool hasTitle);