forked from enlightenment/efl
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.
This commit is contained in:
parent
6f63fbd639
commit
f50925d5ad
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue