summaryrefslogtreecommitdiff
path: root/src/lib/edje/edje_lua_script_only.c
blob: 2a0b82bcd2a09003014fc8e57ce15ca02f7f686c (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#include "edje_private.h"

Eina_Bool
_edje_lua_script_only(Edje *ed)
{
   if ((ed->collection) && (ed->collection->lua_script_only))
     return EINA_TRUE;
   return EINA_FALSE;
}

void
_edje_lua_script_only_init(Edje *ed)
{
   if (ed->collection)
     _edje_lua2_script_init(ed);
}

void
_edje_lua_script_only_shutdown(Edje *ed)
{
   if (ed->collection && ed->L)
     _edje_lua2_script_func_shutdown(ed);
}

void
_edje_lua_script_only_show(Edje *ed)
{
   if (ed->collection && ed->L)
     _edje_lua2_script_func_show(ed);
}

void
_edje_lua_script_only_hide(Edje *ed)
{
   if (ed->collection && ed->L)
     _edje_lua2_script_func_hide(ed);
}

void
_edje_lua_script_only_move(Edje *ed)
{
   if (ed->collection && ed->L)
     _edje_lua2_script_func_move(ed);
}

void
_edje_lua_script_only_resize(Edje *ed)
{
   if (ed->collection && ed->L)
     _edje_lua2_script_func_resize(ed);
}

void
_edje_lua_script_only_message(Edje *ed, Edje_Message *em)
{
   if (ed->collection && ed->L)
     _edje_lua2_script_func_message(ed, em);
}