From 6cbadc9735a3a939afdf2f46f7b387e4ac52827e Mon Sep 17 00:00:00 2001 From: Andrii Kroitor Date: Mon, 22 Sep 2014 10:55:27 +0900 Subject: [PATCH] edje_edit: added missing funcion declaration Summary: added edje_edit_program_filter_state_get and edje_edit_program_filter_state_set to header Reviewers: seoz, cedric, Hermet Reviewed By: Hermet Subscribers: cedric, reutskiy.v.v Differential Revision: https://phab.enlightenment.org/D1457 --- src/lib/edje/Edje_Edit.h | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/src/lib/edje/Edje_Edit.h b/src/lib/edje/Edje_Edit.h index d9600d7..82175f8 100644 --- a/src/lib/edje/Edje_Edit.h +++ b/src/lib/edje/Edje_Edit.h @@ -5925,9 +5925,44 @@ EAPI double edje_edit_program_transition_time_get(Evas_Object *obj, const char * */ EAPI Eina_Bool edje_edit_program_transition_time_set(Evas_Object *obj, const char *prog, double seconds); +/** Get filter part name of the program. + * + * @param obj Object being edited. + * @param prog The name of the program. + * + * @return const char* part_name on success, NULL otherwise. + */ EAPI const char * edje_edit_program_filter_part_get(Evas_Object *obj, const char *prog); + +/** Set filter part name of the program. + * + * @param obj Object being edited. + * @param prog The name of the program. + * @param filter_part The name of the part to be set as filter. + * + * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. + */ EAPI Eina_Bool edje_edit_program_filter_part_set(Evas_Object *obj, const char *prog, const char *filter_part); +/** Get filter state of the program. + * + * @param obj Object being edited. + * @param prog The name of the program. + * + * @return const char* state_name on success, NULL otherwise. + */ +EAPI const char * edje_edit_program_filter_state_get(Evas_Object *obj, const char *prog); + +/** Set filter state of the program. + * + * @param obj Object being edited. + * @param prog The name of the program. + * @param filter_state New filter state value. + * + * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. + */ +EAPI Eina_Bool edje_edit_program_filter_state_set(Evas_Object *obj, const char *prog, const char *filter_state); + //@} /******************************************************************************/ /************************** SCRIPTS API ***********************************/ -- 2.7.4