ecore_evas_callback_state_change_set(pLayer->GetEcoreEvas(), OnWindowStateChanged);
}
+
+void
+_EcoreEvas::SetWindowRotationBounds(const _Window& window, int rotation, const Tizen::Graphics::Rectangle& bounds)
+{
+ _EflLayer* pLayer = GetEflLayer(window);
+ if (!pLayer)
+ {
+ return;
+ }
+
+ Ecore_X_Window win = (Ecore_X_Window) ecore_evas_window_get(pLayer->GetEcoreEvas());
+ SysLog(NID_UI, "[Window Manager Rotation][Window : 0x%x] Set rotation bounds(rot = %d, %d, %d, %d, %d).", win, rotation, bounds.x, bounds.y, bounds.width, bounds.height);
+ ecore_x_e_window_rotation_geometry_set(win, rotation, bounds.x, bounds.y, bounds.width, bounds.height);
+}
#endif
// [ToDo] Remove API
void SetWindowPreferredRotation(const _Window& window, int rotation);
void SetWindowAvailabledRotation(const _Window& window, int* rotations, unsigned int count);
void RegisterWindowStateCallback(const _Window& window);
+ void SetWindowRotationBounds(const _Window& window, int rotation, const Tizen::Graphics::Rectangle& bounds);
#else
void SetWindowOrientationEnabled(const _Window& window, bool enable);
#endif