map source api - nothing implemented. for future expansion.
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 18 Jan 2010 09:46:45 +0000 (09:46 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 18 Jan 2010 09:46:45 +0000 (09:46 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@45281 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/Evas.h
src/lib/canvas/evas_map.c

index cc70676..07f67dc 100644 (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);
 
index 2c92663..fc556b3 100644 (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.
  *