rimmed pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=1943d32de6a0a2bfd3126c9eeeb677248d4afb7f
commit 1943d32de6a0a2bfd3126c9eeeb677248d4afb7f Author: Vyacheslav Reutskiy <v.reuts...@samsung.com> Date: Thu Sep 17 14:28:35 2015 +0300 edje_edit: delete gradient funcs prototope This API was defined in the Edje_Edit.h but haven't implementation. Given the fact that gradient is not supported and print 'SPANK' error on load have sense to delete them. --- src/lib/edje/Edje_Edit.h | 280 ----------------------------------------------- 1 file changed, 280 deletions(-) diff --git a/src/lib/edje/Edje_Edit.h b/src/lib/edje/Edje_Edit.h index 0e0bb32..8a31f14 100644 --- a/src/lib/edje/Edje_Edit.h +++ b/src/lib/edje/Edje_Edit.h @@ -5389,286 +5389,6 @@ EAPI Eina_Bool edje_edit_spectra_stop_color_set(Evas_Object *obj, const char *sp //@} /******************************************************************************/ -/************************* GRADIENT API ***********************************/ -/******************************************************************************/ -/** @name Gradient API - * Functions to deal with gradient objects (see @ref edcref). - */ //@{ - -/** Get the type of gradient. - * - * Remember to free the string with edje_edit_string_free(). - * - * @param obj Object being edited. - * @param part The part that contain state. - * @param state The name of the state to get the gradient type (not including the state value). - * @param value The state value. - * - * @return The type of gradient used in state. - * (linear, linear.diag, linear.codiag, radial, rectangular, angular, sinosoidal) - */ -EAPI const char * edje_edit_state_gradient_type_get(Evas_Object *obj, const char *part, const char *state, double value); - -/** Set the type of gradient. - * - * Gradient type can be on of the following: linear, linear.diag, linear.codiag, radial, rectangular, angular, sinusoidal - * - * @param obj Object being edited. - * @param part The part that contain state. - * @param state The name of the state to set the gradient type (not including the state value). - * @param value The state value. - * @param type The type of gradient to use. - * - * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. - */ -EAPI Eina_Bool edje_edit_state_gradient_type_set(Evas_Object *obj, const char *part, const char *state, double value, const char *type); - -/** Get if the current gradient use the fill properties or the gradient_rel as params. - * - * @param obj Object being edited. - * @param part The part that contain state. - * @param state The name of the state to set the gradient type (not including the state value). - * @param value The state value. - * - * @return @c EINA_TRUE if gradient use the fill properties, @c EINA_FALSE otherwise. - * */ -EAPI Eina_Bool edje_edit_state_gradient_use_fill_get(Evas_Object *obj, const char *part, const char *state, double value); - -/** Get the spectra used by part state. - * - * Remember to free the string with edje_edit_string_free(). - * - * @param obj Object being edited. - * @param part The part that contain state. - * @param state The name of the state to get the spectra name used (not including the state value). - * @param value The state value. - * - * @return The spectra name used in state. - */ -EAPI const char * edje_edit_state_gradient_spectra_get(Evas_Object *obj, const char *part, const char *state, double value); - -/** Set the spectra used by part state. - * - * @param obj Object being edited. - * @param part The part that contain state. - * @param state The name of the state to set the spectra (not including the state value). - * @param value The state value. - * @param spectra The spectra name to assign - * - * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. - */ -EAPI Eina_Bool edje_edit_state_gradient_spectra_set(Evas_Object *obj, const char *part, const char *state, double value, const char *spectra); - -/** Get the angle of the gradient. - * - * @param obj Object being edited. - * @param part The part that contain state. - * @param state The name of the state to get the angle (not including the state value). - * @param value The state value. - * - * @return The angle of the gradient. - */ -EAPI int edje_edit_state_gradient_angle_get(Evas_Object *obj, const char *part, const char *state, double value); - -/** Set the angle of the gradient. - * - * @param obj Object being edited. - * @param part The part that contain state. - * @param state The name of the state to set the angle (not including the state value). - * @param value The state value. - * @param angle The angle to set. - */ -EAPI void edje_edit_state_gradient_angle_set(Evas_Object *obj, const char *part, const char *state, double value, int angle); - -/** Get the gradient rel1 horizontal relative value - * - * @param obj Object being edited. - * @param part The part that contain state. - * @param state The name of the state to get rel1 relative x value (not including the state value). - * @param value The state value. - * - * @return The gradient rel1 horizontal relative value. - */ -EAPI double edje_edit_state_gradient_rel1_relative_x_get(Evas_Object *obj, const char *part, const char *state, double value); - -/** Get the gradient rel1 vertical relative value - * - * @param obj Object being edited. - * @param part The part that contain state. - * @param state The name of the state to get rel1 relative y value (not including the state value). - * @param value The state value. - * - * @return The gradient rel1 vertical relative value. - */ -EAPI double edje_edit_state_gradient_rel1_relative_y_get(Evas_Object *obj, const char *part, const char *state, double value); - -/** Get the gradient rel2 horizontal relative value - * - * @param obj Object being edited. - * @param part The part that contain state. - * @param state The name of the state to get rel2 relative x value (not including the state value). - * @param value The state value. - * - * @return The gradient rel2 horizontal relative value. - */ -EAPI double edje_edit_state_gradient_rel2_relative_x_get(Evas_Object *obj, const char *part, const char *state, double value); - -/** Get the gradient rel2 vertical relative value - * - * @param obj Object being edited. - * @param part The part that contain state. - * @param state The name of the state to get rel2 relative y value (not including the state value). - * @param value The state value. - * - * @return The gradient rel2 vertical relative value. - */ -EAPI double edje_edit_state_gradient_rel2_relative_y_get(Evas_Object *obj, const char *part, const char *state, double value); - - -/** Set the gradient rel1 horizontal relative value - * - * @param obj Object being edited. - * @param part The part that contain state. - * @param state The name of the state to set rel1 relative x value (not including the state value). - * @param value The state value. - * @param val The rel1 relative x to be set, - * - * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise.. - */ -EAPI Eina_Bool edje_edit_state_gradient_rel1_relative_x_set(Evas_Object *obj, const char *part, const char *state, double value, double val); - - -/** Set the gradient rel1 vertical relative value - * - * @param obj Object being edited. - * @param part The part that contain state. - * @param state The name of the state to set rel1 relative y value (not including the state value). - * @param value The state value. - * @param val The rel1 relative y to be set, - * - * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise.. - */ -EAPI Eina_Bool edje_edit_state_gradient_rel1_relative_y_set(Evas_Object *obj, const char *part, const char *state, double value, double val); - -/** Set the gradient rel2 horizontal relative value - * - * @param obj Object being edited. - * @param part The part that contain state. - * @param state The name of the state to set rel2 relative x value (not including the state value). - * @param value The state value. - * @param val The rel2 relative x to be set, - * - * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise.. - */ -EAPI Eina_Bool edje_edit_state_gradient_rel2_relative_x_set(Evas_Object *obj, const char *part, const char *state, double value, double val); - -/** Set the gradient rel2 vertical relative value - * - * @param obj Object being edited. - * @param part The part that contain state. - * @param state The name of the state to set rel2 relative y value (not including the state value). - * @param value The state value. - * @param val The rel2 relative y to be set, - * - * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise.. - */ -EAPI Eina_Bool edje_edit_state_gradient_rel2_relative_y_set(Evas_Object *obj, const char *part, const char *state, double value, double val); - -/** Get the gradient rel1 horizontal offset value - * - * @param obj Object being edited. - * @param part The part that contain state. - * @param state The name of the state to get rel1 offset x value (not including the state value). - * @param value The state value. - * - * @return The gradient rel1 horizontal offset value. - */ -EAPI int edje_edit_state_gradient_rel1_offset_x_get(Evas_Object *obj, const char *part, const char *state, double value); - -/** Get the gradient rel1 vertical offset value - * - * @param obj Object being edited. - * @param part The part that contain state. - * @param state The name of the state to get rel1 offset y value (not including the state value). - * @param value The state value. - * - * @return The gradient rel1 vertical offset value. - */ -EAPI int edje_edit_state_gradient_rel1_offset_y_get(Evas_Object *obj, const char *part, const char *state, double value); - -/** Get the gradient rel2 horizontal offset value - * - * @param obj Object being edited. - * @param part The part that contain state. - * @param state The name of the state to get rel2 offset x value (not including the state value). - * @param value The state value. - * - * @return The gradient rel2 horizontal offset value. - */ -EAPI int edje_edit_state_gradient_rel2_offset_x_get(Evas_Object *obj, const char *part, const char *state, double value); - -/** Get the gradient rel2 vertical offset value - * - * @param obj Object being edited. - * @param part The part that contain state. - * @param state The name of the state to get rel2 offset y value (not including the state value). - * @param value The state value. - * - * @return The gradient rel2 vertical offset value. - */ -EAPI int edje_edit_state_gradient_rel2_offset_y_get(Evas_Object *obj, const char *part, const char *state, double value); - -/** Set the gradient rel1 horizontal offset value - * - * @param obj Object being edited. - * @param part The part that contain state. - * @param state The name of the state to set rel1 offset x value (not including the state value). - * @param value The state value. - * @param val The rel1 offset x value. - * - * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. - */ -EAPI Eina_Bool edje_edit_state_gradient_rel1_offset_x_set(Evas_Object *obj, const char *part, const char *state, double value, int val); - -/** Set the gradient rel1 vertical offset value - * - * @param obj Object being edited. - * @param part The part that contain state. - * @param state The name of the state to set rel1 offset y value (not including the state value). - * @param value The state value. - * @param val The rel1 offset y value. - * - * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. - */ -EAPI Eina_Bool edje_edit_state_gradient_rel1_offset_y_set(Evas_Object *obj, const char *part, const char *state, double value, int val); - -/** Set the gradient rel2 horizontal offset value - * - * @param obj Object being edited. - * @param part The part that contain state. - * @param state The name of the state to set rel2 offset x value (not including the state value). - * @param value The state value. - * @param val The rel2 offset x value. - * - * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. - */ -EAPI Eina_Bool edje_edit_state_gradient_rel2_offset_x_set(Evas_Object *obj, const char *part, const char *state, double value, int val); - -/** Set the gradient rel2 vertical offset value - * - * @param obj Object being edited. - * @param part The part that contain state. - * @param state The name of the state to set rel2 offset y value (not including the state value). - * @param value The state value. - * @param val The rel2 offset y value. - * - * @return @c EINA_TRUE in case of success, @c EINA_FALSE otherwise. - */ -EAPI Eina_Bool edje_edit_state_gradient_rel2_offset_y_set(Evas_Object *obj, const char *part, const char *state, double value, int val); - - -//@} -/******************************************************************************/ /************************* PROGRAMS API ***********************************/ /******************************************************************************/ /** @name Programs API --