summaryrefslogtreecommitdiff
path: root/src/lib/edje/edje_private.h
diff options
context:
space:
mode:
authorVyacheslav Reutskiy <v.reutskiy@samsung.com>2013-12-23 09:51:43 +0900
committerCedric BAIL <cedric.bail@samsung.com>2013-12-23 10:47:32 +0900
commit641d823cbbd68aab83cdcced0bc1847005957da5 (patch)
tree401c9293f61ff4a4d9328c0daeec4eb6bbd044ce /src/lib/edje/edje_private.h
parent7a3cd879d2c63a76834620ead93e0b45ba196b32 (diff)
edje: edje_calc - update _edje_part_description_find
Add to fuction prototype new param: Eina_Bool approximation. If need exact matching state name and value set EINA_FALSE to 'approximate'. In other cases used EINA_TRUE. Reviewers: cedric, raster, seoz CC: cedric Differential Revision: https://phab.enlightenment.org/D400 Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
Diffstat (limited to '')
-rw-r--r--src/lib/edje/edje_private.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/lib/edje/edje_private.h b/src/lib/edje/edje_private.h
index 3340f623b7..73731da23a 100644
--- a/src/lib/edje/edje_private.h
+++ b/src/lib/edje/edje_private.h
@@ -1945,9 +1945,16 @@ EAPI extern Eina_Mempool *_emp_SPACER;
1945EAPI extern Eina_Mempool *_emp_part; 1945EAPI extern Eina_Mempool *_emp_part;
1946 1946
1947void _edje_part_pos_set(Edje *ed, Edje_Real_Part *ep, int mode, FLOAT_T pos, FLOAT_T v1, FLOAT_T v2, FLOAT_T v3, FLOAT_T v4); 1947void _edje_part_pos_set(Edje *ed, Edje_Real_Part *ep, int mode, FLOAT_T pos, FLOAT_T v1, FLOAT_T v2, FLOAT_T v3, FLOAT_T v4);
1948
1949/** Find the description of the part by state name and state value.
1950 * The param 'approximate' on the approximate calculation of the state value,
1951 * it used for amination calculate, when used transition from 0.0 to 1.0.
1952 * If need exact matching state name and value set EINA_FALSE to 'approximate'.
1953 */
1948Edje_Part_Description_Common *_edje_part_description_find(Edje *ed, 1954Edje_Part_Description_Common *_edje_part_description_find(Edje *ed,
1949 Edje_Real_Part *rp, 1955 Edje_Real_Part *rp,
1950 const char *name, double val); 1956 const char *state_name, double val,
1957 Eina_Bool approximate);
1951void _edje_part_description_apply(Edje *ed, Edje_Real_Part *ep, const char *d1, double v1, const char *d2, double v2); 1958void _edje_part_description_apply(Edje *ed, Edje_Real_Part *ep, const char *d1, double v1, const char *d2, double v2);
1952void _edje_recalc(Edje *ed); 1959void _edje_recalc(Edje *ed);
1953void _edje_recalc_do(Edje *ed); 1960void _edje_recalc_do(Edje *ed);