aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/efl_page_transition.h
blob: 38d4e6b9ab9716c86b3965302e48cb730887838c (plain) (blame)
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
#ifndef EFL_PAGE_TRANSITION_H
#define EFL_PAGE_TRANSITION_H


typedef struct _Efl_Page_Transition_Data Efl_Page_Transition_Data;

struct _Efl_Page_Transition_Data
{
   struct {
      Efl_Object           *obj;
      Efl_Canvas_Group     *group;
      Evas_Coord            x, y, w, h;
   } pager;

   struct {
      Eina_Size2D           sz;
      Evas_Coord            padding;
   } page_spec;

   Efl_Ui_Pager_Loop        loop;
};

#define EFL_PAGE_TRANSITION_DATA_GET(o, pd) \
   Efl_Page_Transition_Data *pd = \
   efl_data_scope_get(o, EFL_PAGE_TRANSITION_CLASS)

#endif