summaryrefslogtreecommitdiff
path: root/src/lib/emotion/emotion_smart.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-06-17 14:57:31 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-06-17 19:25:48 +0900
commit42b63f55074fe63066a8046c6211dbb82dbe36cb (patch)
treeccaaf90810b2193102d5fd6f87233c2a32ce2780 /src/lib/emotion/emotion_smart.c
parent2a0bb33f1d049f35914cc4597022702f297bdc3c (diff)
Evas: Add smart_ prefix to all smart functions (eo)
This is a first step at separating legacy smart object features away from standard efl interfaces.
Diffstat (limited to 'src/lib/emotion/emotion_smart.c')
-rw-r--r--src/lib/emotion/emotion_smart.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/lib/emotion/emotion_smart.c b/src/lib/emotion/emotion_smart.c
index 7bfa18a..3df5b60 100644
--- a/src/lib/emotion/emotion_smart.c
+++ b/src/lib/emotion/emotion_smart.c
@@ -1829,7 +1829,7 @@ _pixels_get(void *data, Evas_Object *obj)
1829/*******************************************/ 1829/*******************************************/
1830 1830
1831EOLIAN static void 1831EOLIAN static void
1832_emotion_object_evas_object_smart_add(Evas_Object *obj, Emotion_Object_Data *sd) 1832_emotion_object_evas_object_smart_smart_add(Evas_Object *obj, Emotion_Object_Data *sd)
1833{ 1833{
1834 unsigned int *pixel; 1834 unsigned int *pixel;
1835 1835
@@ -1864,7 +1864,7 @@ _emotion_object_evas_object_smart_add(Evas_Object *obj, Emotion_Object_Data *sd)
1864} 1864}
1865 1865
1866EOLIAN static void 1866EOLIAN static void
1867_emotion_object_evas_object_smart_del(Evas_Object *obj EINA_UNUSED, Emotion_Object_Data *sd) 1867_emotion_object_evas_object_smart_smart_del(Evas_Object *obj EINA_UNUSED, Emotion_Object_Data *sd)
1868{ 1868{
1869 if (!sd) return; 1869 if (!sd) return;
1870 if (sd->engine_instance) 1870 if (sd->engine_instance)
@@ -1895,7 +1895,7 @@ _emotion_object_evas_object_smart_del(Evas_Object *obj EINA_UNUSED, Emotion_Obje
1895} 1895}
1896 1896
1897EOLIAN static void 1897EOLIAN static void
1898_emotion_object_evas_object_smart_move(Evas_Object *obj, Emotion_Object_Data *sd, Evas_Coord x, Evas_Coord y) 1898_emotion_object_evas_object_smart_smart_move(Evas_Object *obj, Emotion_Object_Data *sd, Evas_Coord x, Evas_Coord y)
1899{ 1899{
1900 int w, h; 1900 int w, h;
1901 1901
@@ -1905,14 +1905,14 @@ _emotion_object_evas_object_smart_move(Evas_Object *obj, Emotion_Object_Data *sd
1905} 1905}
1906 1906
1907EOLIAN static void 1907EOLIAN static void
1908_emotion_object_evas_object_smart_resize(Evas_Object *obj, Emotion_Object_Data *sd, Evas_Coord w, Evas_Coord h) 1908_emotion_object_evas_object_smart_smart_resize(Evas_Object *obj, Emotion_Object_Data *sd, Evas_Coord w, Evas_Coord h)
1909{ 1909{
1910 _emotion_object_aspect_border_apply(obj, sd, w, h); 1910 _emotion_object_aspect_border_apply(obj, sd, w, h);
1911 evas_object_resize(sd->bg, w, h); 1911 evas_object_resize(sd->bg, w, h);
1912} 1912}
1913 1913
1914EOLIAN static void 1914EOLIAN static void
1915_emotion_object_evas_object_smart_show(Evas_Object *obj EINA_UNUSED, Emotion_Object_Data *sd) 1915_emotion_object_evas_object_smart_smart_show(Evas_Object *obj EINA_UNUSED, Emotion_Object_Data *sd)
1916{ 1916{
1917 int a; 1917 int a;
1918 1918
@@ -1924,7 +1924,7 @@ _emotion_object_evas_object_smart_show(Evas_Object *obj EINA_UNUSED, Emotion_Obj
1924} 1924}
1925 1925
1926EOLIAN static void 1926EOLIAN static void
1927_emotion_object_evas_object_smart_hide(Evas_Object *obj EINA_UNUSED, Emotion_Object_Data *sd) 1927_emotion_object_evas_object_smart_smart_hide(Evas_Object *obj EINA_UNUSED, Emotion_Object_Data *sd)
1928{ 1928{
1929 evas_object_hide(sd->obj); 1929 evas_object_hide(sd->obj);
1930 if (sd->crop.clipper) evas_object_hide(sd->crop.clipper); 1930 if (sd->crop.clipper) evas_object_hide(sd->crop.clipper);
@@ -1932,14 +1932,14 @@ _emotion_object_evas_object_smart_hide(Evas_Object *obj EINA_UNUSED, Emotion_Obj
1932} 1932}
1933 1933
1934EOLIAN static void 1934EOLIAN static void
1935_emotion_object_evas_object_smart_color_set(Evas_Object *obj EINA_UNUSED, Emotion_Object_Data *sd, int r, int g, int b, int a) 1935_emotion_object_evas_object_smart_smart_color_set(Evas_Object *obj EINA_UNUSED, Emotion_Object_Data *sd, int r, int g, int b, int a)
1936{ 1936{
1937 evas_object_color_set(sd->obj, r, g, b, a); 1937 evas_object_color_set(sd->obj, r, g, b, a);
1938 evas_object_color_set(sd->crop.clipper, r, g, b, a); 1938 evas_object_color_set(sd->crop.clipper, r, g, b, a);
1939} 1939}
1940 1940
1941EOLIAN static void 1941EOLIAN static void
1942_emotion_object_evas_object_smart_clip_set(Evas_Object *obj EINA_UNUSED, Emotion_Object_Data *sd, Evas_Object * clip) 1942_emotion_object_evas_object_smart_smart_clip_set(Evas_Object *obj EINA_UNUSED, Emotion_Object_Data *sd, Evas_Object * clip)
1943{ 1943{
1944 if (sd->crop.clipper) evas_object_clip_set(sd->crop.clipper, clip); 1944 if (sd->crop.clipper) evas_object_clip_set(sd->crop.clipper, clip);
1945 else evas_object_clip_set(sd->obj, clip); 1945 else evas_object_clip_set(sd->obj, clip);
@@ -1947,7 +1947,7 @@ _emotion_object_evas_object_smart_clip_set(Evas_Object *obj EINA_UNUSED, Emotion
1947} 1947}
1948 1948
1949EOLIAN static void 1949EOLIAN static void
1950_emotion_object_evas_object_smart_clip_unset(Evas_Object *obj EINA_UNUSED, Emotion_Object_Data *sd) 1950_emotion_object_evas_object_smart_smart_clip_unset(Evas_Object *obj EINA_UNUSED, Emotion_Object_Data *sd)
1951{ 1951{
1952 if (sd->crop.clipper) evas_object_clip_unset(sd->crop.clipper); 1952 if (sd->crop.clipper) evas_object_clip_unset(sd->crop.clipper);
1953 else evas_object_clip_unset(sd->obj); 1953 else evas_object_clip_unset(sd->obj);