map source api - nothing implemented. for future expansion.

SVN revision: 45281
This commit is contained in:
Carsten Haitzler 2010-01-18 09:46:45 +00:00
parent 5ca98d8def
commit 6fab52157f
2 changed files with 38 additions and 0 deletions

View File

@ -1098,6 +1098,8 @@ extern "C" {
EAPI void evas_object_map_enable_set (Evas_Object *obj, Eina_Bool enabled);
EAPI Eina_Bool evas_object_map_enable_get (const Evas_Object *obj);
EAPI void evas_object_map_source_set (Evas_Object *obj, Evas_Object *src);
EAPI Evas_Object *evas_object_map_source_get (const Evas_Object *obj);
EAPI void evas_object_map_set (Evas_Object *obj, const Evas_Map *map);
EAPI const Evas_Map *evas_object_map_get (const Evas_Object *obj);

View File

@ -313,6 +313,42 @@ evas_object_map_enable_get(const Evas_Object *obj)
return obj->cur.usemap;
}
/**
* Set the map sourc eobject
*
* This sets the object from which the map is taken - can be any object that
* has map enabled on it.
*
* Currently not implemented. for future use.
*
* @param obj object to set the map source of
* @param src the source object from which the map is taken
*/
EAPI void
evas_object_map_source_set(Evas_Object *obj, Evas_Object *src)
{
MAGIC_CHECK(obj, Evas_Object, MAGIC_OBJ);
return;
MAGIC_CHECK_END();
}
/**
* get the map source object
*
* See evas_object_map_source_set()
*
* @param obj object to set the map source of
* @return the object set as the source
*/
EAPI Evas_Object *
evas_object_map_source_get(const Evas_Object *obj)
{
MAGIC_CHECK(obj, Evas_Object, MAGIC_OBJ);
return NULL;
MAGIC_CHECK_END();
}
/**
* Set current object transformation map.
*