_ControlImplManager::GetFormOrientationStatus(const _ControlImpl* pControlImpl) const
{
const _FormImpl* pFormImpl = null;
+ const _ControlImpl* pOriControlImpl = pControlImpl;
OrientationStatus orientation = ORIENTATION_STATUS_NONE;
while(pControlImpl)
orientation = pFormImpl->GetOrientationStatus();
}
+ if (orientation == ORIENTATION_STATUS_NONE)
+ {
+ _Form* pForm = null;
+ _Control* pControl = const_cast<_Control*>(&(pOriControlImpl->GetCore()));
+ while(pControl)
+ {
+ pForm = dynamic_cast<_Form*>(pControl);
+
+ if (pForm != null)
+ {
+ break;
+ }
+ else
+ {
+ pControl = pControl->GetParent();
+ }
+ }
+
+ if (pForm)
+ {
+ _FormImpl* pFormImpl = static_cast<_FormImpl*>(pForm->GetUserData());
+ orientation = pFormImpl->GetOrientationStatus();
+ }
+
+ }
+
return orientation;
}
// Change layout
// Rotate window
+ SetOrientationCallbackModeEnabled(true);
_EcoreEvas* pEcoreEvas = GetEcoreEvasMgr()->GetEcoreEvas();
if (!pEcoreEvas)
{
Invalidate(true);
SysLog(NID_UI, "[Window Manager Rotation] ---------- Update Ownee Window : END ----------");
+ SetOrientationCallbackModeEnabled(false);
}
void