summaryrefslogtreecommitdiff
path: root/src/modules/ecore_evas/engines/win32
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2014-01-18 22:04:25 +0900
committerChunEon Park <hermet@hermet.pe.kr>2014-01-18 22:04:25 +0900
commit8cd92c17e0fb5e750c75df00c5959347ebbe55a3 (patch)
treea16f2e72b1bd00944dad64338b282fc60ff40414 /src/modules/ecore_evas/engines/win32
parent43acf1e82f94dcdca25d6781d8b27b015f4bd656 (diff)
Revert "ecore_evas - use the macro orthogonal check."
This reverts commit 43acf1e82f94dcdca25d6781d8b27b015f4bd656. some partial changes are incorrectly applied.
Diffstat (limited to 'src/modules/ecore_evas/engines/win32')
-rw-r--r--src/modules/ecore_evas/engines/win32/ecore_evas_win32.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/ecore_evas/engines/win32/ecore_evas_win32.c b/src/modules/ecore_evas/engines/win32/ecore_evas_win32.c
index cb5886b557..67b074506a 100644
--- a/src/modules/ecore_evas/engines/win32/ecore_evas_win32.c
+++ b/src/modules/ecore_evas/engines/win32/ecore_evas_win32.c
@@ -376,7 +376,7 @@ _ecore_evas_win32_event_window_configure(void *data EINA_UNUSED, int type EINA_U
376 ee->req.w = ee->w; 376 ee->req.w = ee->w;
377 ee->req.h = ee->h; 377 ee->req.h = ee->h;
378 378
379 if (ECORE_EVAS_RIGHT_ANGLED(ee)) 379 if ((ee->rotation == 90) || (ee->rotation == 270))
380 { 380 {
381 evas_output_size_set(ee->evas, ee->h, ee->w); 381 evas_output_size_set(ee->evas, ee->h, ee->w);
382 evas_output_viewport_set(ee->evas, 0, 0, ee->h, ee->w); 382 evas_output_viewport_set(ee->evas, 0, 0, ee->h, ee->w);
@@ -481,7 +481,7 @@ _ecore_evas_win32_resize(Ecore_Evas *ee, int width, int height)
481 ee->h = height; 481 ee->h = height;
482 ecore_win32_window_resize((struct _Ecore_Win32_Window *)ee->prop.window, 482 ecore_win32_window_resize((struct _Ecore_Win32_Window *)ee->prop.window,
483 width, height); 483 width, height);
484 if (ECORE_EVAS_RIGHT_ANGLED(ee)) 484 if ((ee->rotation == 90) || (ee->rotation == 270))
485 { 485 {
486 evas_output_size_set(ee->evas, ee->h, ee->w); 486 evas_output_size_set(ee->evas, ee->h, ee->w);
487 evas_output_viewport_set(ee->evas, 0, 0, ee->h, ee->w); 487 evas_output_viewport_set(ee->evas, 0, 0, ee->h, ee->w);
@@ -528,7 +528,7 @@ _ecore_evas_win32_move_resize(Ecore_Evas *ee, int x, int y, int width, int heigh
528 ee->h = height; 528 ee->h = height;
529 ecore_win32_window_move_resize((struct _Ecore_Win32_Window *)ee->prop.window, 529 ecore_win32_window_move_resize((struct _Ecore_Win32_Window *)ee->prop.window,
530 x, y, width, height); 530 x, y, width, height);
531 if (ECORE_EVAS_RIGHT_ANGLED(ee)) 531 if ((ee->rotation == 90) || (ee->rotation == 270))
532 { 532 {
533 evas_output_size_set(ee->evas, ee->h, ee->w); 533 evas_output_size_set(ee->evas, ee->h, ee->w);
534 evas_output_viewport_set(ee->evas, 0, 0, ee->h, ee->w); 534 evas_output_viewport_set(ee->evas, 0, 0, ee->h, ee->w);
@@ -586,7 +586,7 @@ _ecore_evas_win32_rotation_set_internal(Ecore_Evas *ee, int rotation)
586 &w, &h); 586 &w, &h);
587 ecore_win32_window_resize((struct _Ecore_Win32_Window *)ee->prop.window, 587 ecore_win32_window_resize((struct _Ecore_Win32_Window *)ee->prop.window,
588 h, w); 588 h, w);
589 if (ECORE_EVAS_RIGHT_ANGLED(ee)) 589 if ((rotation == 0) || (rotation == 180))
590 { 590 {
591 evas_output_size_set(ee->evas, ee->w, ee->h); 591 evas_output_size_set(ee->evas, ee->w, ee->h);
592 evas_output_viewport_set(ee->evas, 0, 0, ee->w, ee->h); 592 evas_output_viewport_set(ee->evas, 0, 0, ee->w, ee->h);
@@ -618,7 +618,7 @@ _ecore_evas_win32_rotation_set_internal(Ecore_Evas *ee, int rotation)
618 if (ee->func.fn_resize) ee->func.fn_resize(ee); 618 if (ee->func.fn_resize) ee->func.fn_resize(ee);
619 } 619 }
620 620
621 if (ECORE_EVAS_RIGHT_ANGLED(ee)) 621 if ((ee->rotation == 90) || (ee->rotation == 270))
622 evas_damage_rectangle_add(ee->evas, 0, 0, ee->h, ee->w); 622 evas_damage_rectangle_add(ee->evas, 0, 0, ee->h, ee->w);
623 else 623 else
624 evas_damage_rectangle_add(ee->evas, 0, 0, ee->w, ee->h); 624 evas_damage_rectangle_add(ee->evas, 0, 0, ee->w, ee->h);