elm_colorselector: "color" -> "picked_color"
authorMike Blumenkrantz <zmike@osg.samsung.com>
Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)
committerWonki Kim <wonki_.kim@samsung.com>
Thu, 5 Apr 2018 18:05:30 +0000 (03:05 +0900)
src/lib/elementary/elm_colorselector.c
src/lib/elementary/elm_colorselector.eo

index f2c930f..dd9f256 100644 (file)
@@ -2382,13 +2382,13 @@ _elm_colorselector_efl_object_constructor(Eo *obj, Elm_Colorselector_Data *_pd E
 }
 
 EOLIAN static void
-_elm_colorselector_color_set(Eo *obj, Elm_Colorselector_Data *_pd EINA_UNUSED, int r, int g, int b, int a)
+_elm_colorselector_picked_color_set(Eo *obj, Elm_Colorselector_Data *_pd EINA_UNUSED, int r, int g, int b, int a)
 {
    _colors_set(obj, r, g, b, a, EINA_FALSE);
 }
 
 EOLIAN static void
-_elm_colorselector_color_get(Eo *obj EINA_UNUSED, Elm_Colorselector_Data *sd, int *r, int *g, int *b, int *a)
+_elm_colorselector_picked_color_get(Eo *obj EINA_UNUSED, Elm_Colorselector_Data *sd, int *r, int *g, int *b, int *a)
 {
    if (r) *r = sd->r;
    if (g) *g = sd->g;
@@ -2865,4 +2865,3 @@ ELM_WIDGET_KEY_DOWN_DEFAULT_IMPLEMENT(elm_colorselector, Elm_Colorselector_Data)
 
 #include "elm_colorselector.eo.c"
 #include "elm_color_item.eo.c"
-
index 6a18f28..e8e8166 100644 (file)
@@ -20,13 +20,15 @@ class Elm.Colorselector (Efl.Ui.Layout, Efl.Ui.Focus.Composition,
    eo_prefix: elm_obj_colorselector;
    event_prefix: elm_colorselector;
    methods {
-      @property color {
+      @property picked_color {
          set {
             [[Set color to colorselector.]]
+            legacy: elm_colorselector_color_set;
 
          }
          get {
             [[Get current color from colorselector.]]
+            legacy: elm_colorselector_color_get;
          }
          values {
             r: int; [[Red value of color]]