{
ecore_evas_rotation_with_resize_set(pEcoreEvas, orientation);
+ pLayer->SetOrientationChanged(orientation);
+
if ((orientation == 0) || (orientation == 180))
{
if (pWindow->IsOrientationRoot())
if (rotateEvas == true)
{
ecore_evas_rotation_set(pEcoreEvas, orientation);
+
+ pLayer->SetOrientationChanged(orientation);
}
Rectangle winBounds = _CoordinateSystemUtils::Transform(window.GetBounds());
, __constructed(false)
, __rotation(false)
, __changingBoundsEnabled(true)
+ , __skipSetBounds(false)
, __pFormActivationChangeEventListener(null)
{
_FramePresenter* pPresenter = new (std::nothrow) _FramePresenter(*this);
__restore = true;
- if (GetOrientation() == _CONTROL_ORIENTATION_PORTRAIT)
+ if (__skipSetBounds == false)
{
- SetBounds(FloatRectangle(0.0f, 0.0f, screen.width, screen.height));
- }
- else
- {
- SetBounds(FloatRectangle(0.0f, 0.0f, screen.height, screen.width));
+ if (GetOrientation() == _CONTROL_ORIENTATION_PORTRAIT)
+ {
+ SetBounds(FloatRectangle(0.0f, 0.0f, screen.width, screen.height));
+ }
+ else
+ {
+ SetBounds(FloatRectangle(0.0f, 0.0f, screen.height, screen.width));
+ }
}
__restore = false;
// Restore
FrameShowMode showMode = GetShowMode(false);
+ __skipSetBounds = true;
SetShowMode(FRAME_SHOW_MODE_FULL_SCREEN);
+ __skipSetBounds = false;
SetShowMode(showMode);