aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/e_layout.h
blob: 0e6ef59c214c1d28f5328494fd7bf6211908ca59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifdef E_TYPEDEFS
#else
#ifndef E_LAYOUT_H
#define E_LAYOUT_H

EAPI Evas_Object *e_layout_add               (Evas *evas);
EAPI int          e_layout_freeze            (Evas_Object *obj);
EAPI int          e_layout_thaw              (Evas_Object *obj);
EAPI void         e_layout_virtual_size_set  (Evas_Object *obj, Evas_Coord w, Evas_Coord h);
EAPI void         e_layout_virtual_size_get  (Evas_Object *obj, Evas_Coord *w, Evas_Coord *h);

EAPI void e_layout_coord_canvas_to_virtual (Evas_Object *obj, Evas_Coord cx, Evas_Coord cy, Evas_Coord *vx, Evas_Coord *vy);
EAPI void e_layout_coord_virtual_to_canvas (Evas_Object *obj, Evas_Coord vx, Evas_Coord vy, Evas_Coord *cx, Evas_Coord *cy);

EAPI void         e_layout_pack              (Evas_Object *obj, Evas_Object *child);
EAPI void         e_layout_child_move        (Evas_Object *obj, Evas_Coord x, Evas_Coord y);
EAPI void         e_layout_child_resize      (Evas_Object *obj, Evas_Coord w, Evas_Coord h);
EAPI void         e_layout_child_raise       (Evas_Object *obj);
EAPI void         e_layout_child_lower       (Evas_Object *obj);
EAPI void         e_layout_child_raise_above (Evas_Object *obj, Evas_Object *above);
EAPI void         e_layout_child_lower_below (Evas_Object *obj, Evas_Object *below);
EAPI void         e_layout_child_geometry_get(Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h);
EAPI void         e_layout_unpack            (Evas_Object *obj);

EAPI Eina_List *e_layout_children_get(Evas_Object *obj);
EAPI Evas_Object *e_layout_top_child_at_xy_get(Evas_Object *obj, Evas_Coord x, Evas_Coord y, const Eina_List *ignore);

#endif
#endif