color interpolation? never used. did nothing. not needed. go go go!

SVN revision: 51781
This commit is contained in:
Carsten Haitzler 2010-08-31 13:29:17 +00:00
parent 318217b812
commit af64cdd630
3 changed files with 1 additions and 44 deletions

View File

@ -1014,9 +1014,6 @@ typedef void (*Evas_Async_Events_Put_Cb)(void *target, Evas_Callback_Type t
EAPI void evas_object_scale_set (Evas_Object *obj, double scale) EINA_ARG_NONNULL(1);
EAPI double evas_object_scale_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE;
EAPI void evas_object_color_interpolation_set (Evas_Object *obj, int color_space) EINA_ARG_NONNULL(1);
EAPI int evas_object_color_interpolation_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE;
EAPI void evas_object_render_op_set (Evas_Object *obj, Evas_Render_Op op) EINA_ARG_NONNULL(1);
EAPI Evas_Render_Op evas_object_render_op_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE;

View File

@ -1363,44 +1363,6 @@ evas_object_scale_get(const Evas_Object *obj)
return obj->cur.scale;
}
/**
* Sets the color_space to be used for linear interpolation of colors.
*
* @param obj The given evas object.
* @param color_space one of EVAS_COLOR_SPACE_ARGB or EVAS_COLOR_SPACE_AHSV.
*
* @ingroup Evas_Object_Group_Extras
*/
EAPI void
evas_object_color_interpolation_set(Evas_Object *obj, int color_space)
{
MAGIC_CHECK(obj, Evas_Object, MAGIC_OBJ);
return;
MAGIC_CHECK_END();
if (obj->delete_me) return;
if (obj->cur.interpolation_color_space == color_space)
return;
obj->cur.interpolation_color_space = color_space;
evas_object_change(obj);
}
/**
* Retrieves the current value of the color space used for linear interpolation.
* @param obj The given evas object.
* @return @c EVAS_COLOR_SPACE_ARGB or EVAS_COLOR_SPACE_AHSV.
* @ingroup Evas_Object_Group_Extras
*/
EAPI int
evas_object_color_interpolation_get(const Evas_Object *obj)
{
MAGIC_CHECK(obj, Evas_Object, MAGIC_OBJ);
return 0;
MAGIC_CHECK_END();
if (obj->delete_me) return 0;
return obj->cur.interpolation_color_space;
}
/**
* Sets the render_op to be used for rendering the evas object.
* @param obj The given evas object.
@ -1415,12 +1377,11 @@ evas_object_render_op_set(Evas_Object *obj, Evas_Render_Op render_op)
MAGIC_CHECK_END();
if (obj->delete_me) return;
if ((Evas_Render_Op)obj->cur.render_op == render_op)
return;
return;
obj->cur.render_op = render_op;
evas_object_change(obj);
}
/**
* Retrieves the current value of the operation used for rendering the evas object.
* @param obj The given evas object.

View File

@ -435,7 +435,6 @@ struct _Evas_Object
Eina_Bool visible : 1;
Eina_Bool have_clipees : 1;
Eina_Bool anti_alias : 1;
unsigned char interpolation_color_space : 1;
Evas_Render_Op render_op : 4;
} cur, prev;