One more API's that haven't implementation it's a "spectra". I planed to delete they too.
On Thu, Sep 17, 2015 at 8:34 PM, Davide Andreoli <d...@gurumeditation.it> wrote: > Indeed they can be deleted, this is probably a leftover from when gradients > were removed from edje (years ago). > > Edje_Edit gradients API was working, and was removed when gradients was > removed from edje. > > > 2015-09-17 14:01 GMT+02:00 Vyacheslav Reutskiy <reutskiy....@gmail.com>: > > > Yes, they been added before 1.15, but they have haven't any source code, > > only define in Edje_Edit.h. > > If you try use it, you get 'undefined reference' error from compiler. > > > > I've been thinking what to do: mark as deprecated or delete. Delete win, > > because we can't use this API's > > > > Best regards > > Vyacheslav Reutskiy > > > > On Thu, Sep 17, 2015 at 2:45 PM, Stefan Schmidt <ste...@osg.samsung.com> > > wrote: > > > > > Hello > > > > > > On 17/09/15 13:39, Vyacheslav Reutskiy wrote: > > > > 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. > > > > > > When have these EAPI's been added? If they have been added before 1.15 > > > and are released with it we can't remove them as they are a public API > > > which we do not break. > > > > > > regards > > > Stefan Schmidt > > > > --- > > > > 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 > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > Monitor Your Dynamic Infrastructure at Any Scale With Datadog! > > > Get real-time metrics from all of your servers, apps and tools > > > in one place. > > > SourceForge users - Click here to start your Free Trial of Datadog now! > > > http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140 > > > _______________________________________________ > > > enlightenment-devel mailing list > > > enlightenment-devel@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > > > > > > > ------------------------------------------------------------------------------ > > Monitor Your Dynamic Infrastructure at Any Scale With Datadog! > > Get real-time metrics from all of your servers, apps and tools > > in one place. > > SourceForge users - Click here to start your Free Trial of Datadog now! > > http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140 > > _______________________________________________ > > enlightenment-devel mailing list > > enlightenment-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > > > ------------------------------------------------------------------------------ > Monitor Your Dynamic Infrastructure at Any Scale With Datadog! > Get real-time metrics from all of your servers, apps and tools > in one place. > SourceForge users - Click here to start your Free Trial of Datadog now! > http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140 > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > ------------------------------------------------------------------------------ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel