summaryrefslogtreecommitdiff
path: root/legacy/emotion/src/lib/emotion_smart.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2011-08-04 10:24:32 +0000
committerCedric BAIL <cedric.bail@free.fr>2011-08-04 10:24:32 +0000
commit1812ce8a2f85d2232be0b9ca7700020c2fcf9677 (patch)
treea5084aa6ac7e16f0315c2bb17f27f88d8c73953f /legacy/emotion/src/lib/emotion_smart.c
parent28f32ca0c51ff00bef6ebefcc9cf7198a7644131 (diff)
emotion: add a way to retrieve pixels.
SVN revision: 62092
Diffstat (limited to '')
-rw-r--r--legacy/emotion/src/lib/emotion_smart.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/legacy/emotion/src/lib/emotion_smart.c b/legacy/emotion/src/lib/emotion_smart.c
index 72171032ae..50a8dc780d 100644
--- a/legacy/emotion/src/lib/emotion_smart.c
+++ b/legacy/emotion/src/lib/emotion_smart.c
@@ -295,6 +295,16 @@ emotion_object_add(Evas *evas)
295 return evas_object_smart_add(evas, smart); 295 return evas_object_smart_add(evas, smart);
296} 296}
297 297
298EAPI Evas_Object *
299emotion_object_image_get(const Evas_Object *obj)
300{
301 Smart_Data *sd;
302
303 sd = evas_object_smart_data_get(obj);
304 if (!sd) return NULL;
305 return sd->obj;
306}
307
298EAPI void 308EAPI void
299emotion_object_module_option_set(Evas_Object *obj, const char *opt, const char *val) 309emotion_object_module_option_set(Evas_Object *obj, const char *opt, const char *val)
300{ 310{
@@ -1767,13 +1777,3 @@ _smart_clip_unset(Evas_Object * obj)
1767 evas_object_clip_unset(sd->obj); 1777 evas_object_clip_unset(sd->obj);
1768} 1778}
1769 1779
1770EAPI Evas_Object *
1771_emotion_image_get(const Evas_Object *obj)
1772{
1773 Smart_Data *sd;
1774
1775 sd = evas_object_smart_data_get(obj);
1776 if (!sd) return NULL;
1777 return sd->obj;
1778}
1779