From f50925d5ad2de951af5932d723bba8b2bbe4f5e9 Mon Sep 17 00:00:00 2001 From: Daniel Juyung Seo Date: Fri, 27 Dec 2013 23:14:27 +0900 Subject: [PATCH] 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. --- legacy/elementary/src/lib/elm_win.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/legacy/elementary/src/lib/elm_win.c b/legacy/elementary/src/lib/elm_win.c index 9d23d1a..cee4353 100644 --- a/legacy/elementary/src/lib/elm_win.c +++ b/legacy/elementary/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) -- 2.7.4