seoz pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=54fbe32f03f9bf98f401313efcad5c1a186626c3

commit 54fbe32f03f9bf98f401313efcad5c1a186626c3
Author: Daniel Juyung Seo <juyung....@samsung.com>
Date:   Fri Dec 27 23:14:27 2013 +0900

    win: Added internal documentation about elm_win_rotation_set and 
elm_win_rotation_with_resize_set().
    
    This is for efl developers not app developers so it goes to elm_win.c
    Without knowing this, it is very tricky to understand the concept of
    this api.
---
 src/lib/elm_win.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c
index 9d23d1a..cee4353 100644
--- a/src/lib/elm_win.c
+++ b/src/lib/elm_win.c
@@ -4457,6 +4457,10 @@ _win_rotation_degree_check(int rotation)
    return rotation;
 }
 
+/*
+ * This API resizes the internal window(ex: X window) and evas_output.
+ * But this does not resize the elm window object and its contents.
+ */
 EAPI void
 elm_win_rotation_set(Evas_Object *obj,
                      int rotation)
@@ -4492,6 +4496,10 @@ _rotation_set(Eo *obj, void *_pd, va_list *list)
    _win_rotate(obj, sd, rotation, EINA_FALSE);
 }
 
+/*
+ * This API does not resize the internal window (ex: X window).
+ * But this resizes evas_output, elm window, and its contents.
+ */
 EAPI void
 elm_win_rotation_with_resize_set(Evas_Object *obj,
                                  int rotation)

-- 


Reply via email to