remove deprecated code related with elm_bubble and elm_bg_overlay.
authorjypark <jypark@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 6 Mar 2012 06:54:02 +0000 (06:54 +0000)
committerjypark <jypark@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 6 Mar 2012 06:54:02 +0000 (06:54 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@68775 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/examples/bubble_example_01.c
src/lib/elm_actionslider.c
src/lib/elm_bg.c
src/lib/elm_bubble.c

index da6bdce..680a361 100644 (file)
@@ -41,9 +41,9 @@ elm_main(int argc, char **argv)
 
    bubble = elm_bubble_add(win);
    elm_object_part_content_set(bubble, "icon", icon);
-   elm_bubble_info_set(bubble, "INFO");
+   elm_object_part_text_set(bubble, "INFO");
    elm_object_text_set(bubble, "LABEL");
-   elm_bubble_content_set(bubble, label);
+   elm_object_content_set(bubble, label);
    evas_object_resize(bubble, 300, 100);
    evas_object_show(bubble);
 
@@ -54,7 +54,7 @@ elm_main(int argc, char **argv)
    evas_object_show(label);
 
    bubble = elm_bubble_add(win);
-   elm_bubble_content_set(bubble, label);
+   elm_object_content_set(bubble, label);
    evas_object_resize(bubble, 200, 50);
    evas_object_move(bubble, 0, 110);
    evas_object_show(bubble);
index a707461..49cdda1 100644 (file)
@@ -482,34 +482,6 @@ elm_actionslider_enabled_pos_get(const Evas_Object *obj)
    return wd->enabled_position;
 }
 
-EAPI void
-elm_actionslider_labels_set(Evas_Object *obj, const char *left_label, const char *center_label, const char *right_label)
-{
-   ELM_CHECK_WIDTYPE(obj, widtype);
-   Widget_Data *wd = elm_widget_data_get(obj);
-   if (!wd) return;
-
-   _elm_actionslider_label_set(obj, "left", left_label);
-   _elm_actionslider_label_set(obj, "center", center_label);
-   _elm_actionslider_label_set(obj, "right", right_label);
-}
-
-EAPI void
-elm_actionslider_labels_get(const Evas_Object *obj, const char **left_label, const char **center_label, const char **right_label)
-{
-   if (left_label) *left_label= NULL;
-   if (center_label) *center_label= NULL;
-   if (right_label) *right_label= NULL;
-   ELM_CHECK_WIDTYPE(obj, widtype);
-   Widget_Data *wd = elm_widget_data_get(obj);
-   if (!wd) return;
-   if (left_label) *left_label = _elm_actionslider_label_get(obj, "left");
-   if (center_label) *center_label = _elm_actionslider_label_get(obj, "center");
-
-   if (right_label) *right_label = _elm_actionslider_label_get(obj, "right");
-
-}
-
 EAPI const char *
 elm_actionslider_selected_label_get(const Evas_Object *obj)
 {
@@ -531,15 +503,3 @@ elm_actionslider_selected_label_get(const Evas_Object *obj)
 
    return NULL;
 }
-
-EAPI void
-elm_actionslider_indicator_label_set(Evas_Object *obj, const char *label)
-{
-   _elm_actionslider_label_set(obj, NULL, label);
-}
-
-EAPI const char *
-elm_actionslider_indicator_label_get(Evas_Object *obj)
-{
-   return _elm_actionslider_label_get(obj, NULL);
-}
index 99d4157..6782f9e 100644 (file)
@@ -299,24 +299,6 @@ elm_bg_color_get(const Evas_Object *obj, int *r, int *g, int *b)
 }
 
 EAPI void
-elm_bg_overlay_set(Evas_Object *obj, Evas_Object *overlay)
-{
-   _content_set_hook(obj, "overlay", overlay);
-}
-
-EAPI Evas_Object *
-elm_bg_overlay_get(const Evas_Object *obj)
-{
-   return _content_get_hook(obj, "overlay");
-}
-
-EAPI Evas_Object *
-elm_bg_overlay_unset(Evas_Object *obj)
-{
-   return _content_unset_hook(obj, "overlay");
-}
-
-EAPI void
 elm_bg_load_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h)
 {
    ELM_CHECK_WIDTYPE(obj, widtype);
index 901e020..eef5c1e 100644 (file)
@@ -347,66 +347,6 @@ elm_bubble_add(Evas_Object *parent)
    return obj;
 }
 
-EAPI void
-elm_bubble_label_set(Evas_Object *obj, const char *label)
-{
-   _elm_bubble_label_set(obj, NULL, label);
-}
-
-EAPI const char*
-elm_bubble_label_get(const Evas_Object *obj)
-{
-   return _elm_bubble_label_get(obj, NULL);
-}
-
-EAPI void
-elm_bubble_info_set(Evas_Object *obj, const char *info)
-{
-   _elm_bubble_label_set(obj, "info", info);
-}
-
-EAPI const char *
-elm_bubble_info_get(const Evas_Object *obj)
-{
-   return _elm_bubble_label_get(obj, "info");
-}
-
-EAPI void
-elm_bubble_content_set(Evas_Object *obj, Evas_Object *content)
-{
-   _content_set_hook(obj, NULL, content);
-}
-
-EAPI Evas_Object *
-elm_bubble_content_get(const Evas_Object *obj)
-{
-   return _content_get_hook(obj, NULL);
-}
-
-EAPI Evas_Object *
-elm_bubble_content_unset(Evas_Object *obj)
-{
-   return _content_unset_hook(obj, NULL);
-}
-
-EAPI void
-elm_bubble_icon_set(Evas_Object *obj, Evas_Object *icon)
-{
-   _content_set_hook(obj, "icon", icon);
-}
-
-EAPI Evas_Object *
-elm_bubble_icon_get(const Evas_Object *obj)
-{
-   return _content_get_hook(obj, "icon");
-}
-
-EAPI Evas_Object *
-elm_bubble_icon_unset(Evas_Object *obj)
-{
-   return _content_unset_hook(obj, "icon");
-}
-
 EINA_DEPRECATED EAPI void
 elm_bubble_corner_set(Evas_Object *obj, const char *corner)
 {