summaryrefslogtreecommitdiff
path: root/src/bin/edje/edje_cc_parse.c
diff options
context:
space:
mode:
authorjiin.moon <jiin.moon@samsung.com>2015-06-22 17:56:08 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-06-22 17:56:15 +0200
commit6487a26354f0e11a9c7dd74d2923e7d2466dcc34 (patch)
tree37d6db73be1570d34cac367fb40b6acde7cfbae2 /src/bin/edje/edje_cc_parse.c
parent8b621775619b9959fe952b095b3baaa7aaa99572 (diff)
edje: add support to control the transition time of edje animation globally.
Summary: Add the transition scale flag and the transtion scale value. This flag can be change using "transition_scale_enable" in edje program. If flag is true, the transition scale value affect the transition speed of edje The transition scale value can be change by elm_config. @feature Test Plan: elementary_config Reviewers: Hermet, cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2287 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to '')
-rw-r--r--src/bin/edje/edje_cc_parse.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/bin/edje/edje_cc_parse.c b/src/bin/edje/edje_cc_parse.c
index b87afb08ac..6327e8e3ba 100644
--- a/src/bin/edje/edje_cc_parse.c
+++ b/src/bin/edje/edje_cc_parse.c
@@ -1815,3 +1815,15 @@ strstrip(const char *in, char *out, size_t size)
1815 *out = '\0'; 1815 *out = '\0';
1816 return 1; 1816 return 1;
1817} 1817}
1818
1819int
1820get_param_index(char *str)
1821{
1822 int index ;
1823 for(index = 0; index < get_arg_count(); index++)
1824 {
1825 if(!strcmp(str,_parse_param_get(index)))
1826 return index;
1827 }
1828 return -1;
1829}