int rotation = angle;
+ _RootVisualElement* pRootVisualElement = pRootWindow->GetRootVisualElement();
+ if (!pRootVisualElement)
+ {
+ SysLog(NID_UI, "[Ime Rotation] The root visual element is null.");
+ return;
+ }
+
+ _EflLayer* pLayer = static_cast<_EflLayer*>(pRootVisualElement->GetNativeLayer());
+ if (!pLayer)
+ {
+ SysLog(NID_UI, "[Ime Rotation] The efl layer is null.");
+ return;
+ }
+
+ Evas_Object* pWinObj = pLayer->GetElmWin();
+
+ if (pWinObj)
+ {
+ elm_win_rotation_with_resize_set(pWinObj, rotation);
+ }
+
OrientationStatus status = ORIENTATION_STATUS_NONE;
switch (rotation)
{
FireEvent(status);
pImpl->Invalidate(true);
-
- _RootVisualElement* pRootVisualElement = pRootWindow->GetRootVisualElement();
- if (!pRootVisualElement)
- {
- SysLog(NID_UI, "[Ime Rotation] The root visual element is null.");
- return;
- }
-
- _EflLayer* pLayer = static_cast<_EflLayer*>(pRootVisualElement->GetNativeLayer());
- if (!pLayer)
- {
- SysLog(NID_UI, "[Ime Rotation] The efl layer is null.");
- return;
- }
-
- Evas_Object* pWinObj = pLayer->GetElmWin();
-
- if (pWinObj)
- {
- elm_win_rotation_with_resize_set(pWinObj, rotation);
- }
}
void