migration merge<Jiyoun Park>
authorJiyoun Park <jy0703.park@samsung.com>
Fri, 9 Mar 2012 03:01:46 +0000 (12:01 +0900)
committerJiyoun Park <jy0703.park@samsung.com>
Fri, 9 Mar 2012 03:01:46 +0000 (12:01 +0900)
22 files changed:
doc/widgets/widget_preview_icon.c
doc/widgets/widget_preview_image.c
src/bin/test_bg.c
src/bin/test_icon.c
src/bin/test_icon_animated.c
src/bin/test_photo.c
src/bin/test_photocam.c
src/edje_externals/elm_icon.c
src/examples/icon_example_01.c
src/examples/image_example_01.c
src/examples/photocam_example_01.c
src/lib/elm_bg.c
src/lib/elm_bg.h
src/lib/elm_icon.c
src/lib/elm_icon.h
src/lib/elm_image.c
src/lib/elm_image.h
src/lib/elm_photo.c
src/lib/elm_photo.h
src/lib/elm_photocam.c
src/lib/elm_photocam.h
src/lib/els_icon.c

index de87ac2..7a2a1e1 100644 (file)
@@ -5,11 +5,7 @@ evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
 elm_win_resize_object_add(win, o);
 
 elm_icon_standard_set(o, "home");
-<<<<<<< HEAD
-elm_icon_scale_set(o, EINA_FALSE, EINA_FALSE);
-=======
 elm_icon_resizable_set(o, EINA_FALSE, EINA_FALSE);
->>>>>>> remotes/origin/upstream
 evas_object_show(o);
 
 #include "widget_preview_tmpl_foot.c"
index 6bcbd29..cc727ab 100644 (file)
@@ -5,11 +5,7 @@ evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
 elm_win_resize_object_add(win, o);
 
 elm_image_file_set(o, PACKAGE_DATA_DIR"/images/logo_small.png", NULL);
-<<<<<<< HEAD
-elm_image_scale_set(o, EINA_FALSE, EINA_FALSE);
-=======
 elm_image_resizable_set(o, EINA_FALSE, EINA_FALSE);
->>>>>>> remotes/origin/upstream
 evas_object_show(o);
 
 #include "widget_preview_tmpl_foot.c"
index 0db78af..cb216f3 100644 (file)
@@ -5,8 +5,6 @@
 #ifndef ELM_LIB_QUICKLAUNCH
 
 static void
-<<<<<<< HEAD
-=======
 _cb_size_radio_changed(void *data, Evas_Object *obj, void *event __UNUSED__)
 {
    Evas_Object *o_bg = data;
@@ -16,7 +14,6 @@ _cb_size_radio_changed(void *data, Evas_Object *obj, void *event __UNUSED__)
 }
 
 static void
->>>>>>> remotes/origin/upstream
 _cb_radio_changed(void *data, Evas_Object *obj, void *event __UNUSED__)
 {
    Evas_Object *o_bg = data;
@@ -95,11 +92,8 @@ void
 test_bg_image(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
 {
    Evas_Object *win, *bg;
-<<<<<<< HEAD
-=======
    Evas_Object *box, *hbox, *o_bg;
    Evas_Object *rd, *rdg;
->>>>>>> remotes/origin/upstream
    char buf[PATH_MAX];
 
    win = elm_win_add(NULL, "bg-image", ELM_WIN_BASIC);
@@ -107,17 +101,10 @@ test_bg_image(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
    elm_win_autodel_set(win, EINA_TRUE);
 
    bg = elm_bg_add(win);
-<<<<<<< HEAD
-   snprintf(buf, sizeof(buf), "%s/images/plant_01.jpg", elm_app_data_dir_get());
-   elm_bg_file_set(bg, buf, NULL);
-=======
->>>>>>> remotes/origin/upstream
    evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
    elm_win_resize_object_add(win, bg);
    evas_object_show(bg);
 
-<<<<<<< HEAD
-=======
    box = elm_box_add(win);
    evas_object_size_hint_weight_set(box, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
    elm_win_resize_object_add(win, box);
@@ -168,7 +155,6 @@ test_bg_image(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
    evas_object_show(hbox);
 
    evas_object_show(o_bg);
->>>>>>> remotes/origin/upstream
    evas_object_size_hint_min_set(bg, 160, 160);
    evas_object_size_hint_max_set(bg, 640, 640);
    evas_object_resize(win, 320, 320);
index d759499..778c43c 100644 (file)
@@ -3,8 +3,6 @@
 # include "elementary_config.h"
 #endif
 #ifndef ELM_LIB_QUICKLAUNCH
-<<<<<<< HEAD
-=======
 
 static void
 aspect_fixed_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
@@ -127,7 +125,6 @@ test_icon(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info _
    evas_object_show(win);
 }
 
->>>>>>> remotes/origin/upstream
 static void
 icon_clicked(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
 {
@@ -135,11 +132,7 @@ icon_clicked(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_inf
 }
 
 void
-<<<<<<< HEAD
-test_icon(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
-=======
 test_icon_transparent(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
->>>>>>> remotes/origin/upstream
 {
    Evas_Object *win, *ic;
    char buf[PATH_MAX];
@@ -152,11 +145,7 @@ test_icon_transparent(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *
    ic = elm_icon_add(win);
    snprintf(buf, sizeof(buf), "%s/images/logo.png", elm_app_data_dir_get());
    elm_icon_file_set(ic, buf, NULL);
-<<<<<<< HEAD
-   elm_icon_scale_set(ic, 0, 0);
-=======
    elm_icon_resizable_set(ic, 0, 0);
->>>>>>> remotes/origin/upstream
    elm_icon_no_scale_set(ic, 1);
    evas_object_size_hint_weight_set(ic, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
    evas_object_size_hint_fill_set(ic, 0.5, 0.5);
index 3cf80b5..104ec63 100644 (file)
@@ -35,11 +35,7 @@ test_icon_animated(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *eve
         elm_icon_animated_set(ic, EINA_TRUE);
         elm_icon_animated_play_set(ic, EINA_TRUE);
      }
-<<<<<<< HEAD
-   elm_icon_scale_set(ic, 0, 0);
-=======
    elm_icon_resizable_set(ic, 0, 0);
->>>>>>> remotes/origin/upstream
    elm_icon_no_scale_set(ic, 1);
    evas_object_size_hint_weight_set(ic, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
    evas_object_size_hint_fill_set(ic, 0.5, 0.5);
index 8c2145f..79d9b3c 100644 (file)
@@ -57,11 +57,7 @@ test_photo(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info
                elm_photo_thumb_set(ph, buf, NULL);
              else
                elm_photo_file_set(ph, buf);
-<<<<<<< HEAD
-             elm_photo_editable_set(ph, 1);
-=======
              elm_photo_editable_set(ph, EINA_TRUE);
->>>>>>> remotes/origin/upstream
              evas_object_size_hint_weight_set(ph, EVAS_HINT_EXPAND,
                                               EVAS_HINT_EXPAND);
              evas_object_size_hint_align_set(ph, EVAS_HINT_FILL,
index 52dd9e4..1b47915 100644 (file)
@@ -100,11 +100,7 @@ static void
 my_ph_scroll(void *data __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
 {
    int x, y, w, h;
-<<<<<<< HEAD
-   elm_photocam_region_get(obj, &x, &y, &w, &h);
-=======
    elm_photocam_image_region_get(obj, &x, &y, &w, &h);
->>>>>>> remotes/origin/upstream
    printf("scroll %i %i %ix%i\n", x, y, w, h);
 }
 
@@ -178,15 +174,12 @@ my_bt_zoom_fill(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUS
 }
 
 static void
-<<<<<<< HEAD
-=======
 my_bt_gesture(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
 {
   elm_photocam_gesture_enabled_set(data, !elm_photocam_gesture_enabled_get(data));
 }
 
 static void
->>>>>>> remotes/origin/upstream
 _photocam_mouse_wheel_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
 {
    Evas_Object *photocam = data;
@@ -329,8 +322,6 @@ test_photocam(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
    elm_table_pack(tb2, bt, 2, 1, 1, 1);
    evas_object_show(bt);
 
-<<<<<<< HEAD
-=======
    box = elm_box_add(win);
    elm_box_horizontal_set(box, EINA_TRUE);
    evas_object_size_hint_weight_set(box, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
@@ -338,15 +329,10 @@ test_photocam(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
    elm_table_pack(tb2, box, 0, 2, 1, 1);
    evas_object_show(box);
 
->>>>>>> remotes/origin/upstream
    bt = elm_button_add(win);
    elm_object_text_set(bt, "Pause On/Off");
    evas_object_smart_callback_add(bt, "clicked", my_bt_pause, ph);
    evas_object_size_hint_weight_set(bt, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
-<<<<<<< HEAD
-   evas_object_size_hint_align_set(bt, 0.1, 0.9);
-   elm_table_pack(tb2, bt, 0, 2, 1, 1);
-=======
    elm_box_pack_end(box, bt);
    evas_object_show(bt);
 
@@ -355,7 +341,6 @@ test_photocam(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
    evas_object_smart_callback_add(bt, "clicked", my_bt_gesture, ph);
    evas_object_size_hint_weight_set(bt, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
    elm_box_pack_end(box, bt);
->>>>>>> remotes/origin/upstream
    evas_object_show(bt);
 
    box = elm_box_add(win);
index d1dcd25..fbd1c5f 100644 (file)
@@ -38,46 +38,16 @@ external_icon_state_set(void *data __UNUSED__, Evas_Object *obj,
    if (p->file)
      {
         elm_icon_file_set(obj, p->file, NULL);
-<<<<<<< HEAD
-       param_icon->file = p->file;
-=======
         param_icon->file = p->file;
->>>>>>> remotes/origin/upstream
      }
    if (p->smooth_exists)
      {
         elm_icon_smooth_set(obj, p->smooth);
-<<<<<<< HEAD
-       param_icon->smooth = p->smooth;
-=======
         param_icon->smooth = p->smooth;
->>>>>>> remotes/origin/upstream
      }
    if (p->no_scale_exists)
      {
         elm_icon_no_scale_set(obj, p->no_scale);
-<<<<<<< HEAD
-       param_icon->no_scale = p->no_scale;
-     }
-   if (p->scale_up_exists && p->scale_down_exists)
-     {
-        elm_icon_scale_set(obj, p->scale_up, p->scale_down);
-       param_icon->scale_up = p->scale_up;
-       param_icon->scale_down = p->scale_down;
-     }
-   else if (p->scale_up_exists || p->scale_down_exists)
-     {
-       if (p->scale_up_exists)
-         {
-            elm_icon_scale_set(obj, p->scale_up, param_icon->scale_down);
-            param_icon->scale_up = p->scale_up;
-         }
-       else
-         {
-            elm_icon_scale_set(obj, param_icon->scale_up, p->scale_down);
-            param_icon->scale_down = p->scale_down;
-         }
-=======
         param_icon->no_scale = p->no_scale;
      }
    if (p->scale_up_exists && p->scale_down_exists)
@@ -98,25 +68,16 @@ external_icon_state_set(void *data __UNUSED__, Evas_Object *obj,
              elm_icon_resizable_set(obj, param_icon->scale_up, p->scale_down);
              param_icon->scale_down = p->scale_down;
           }
->>>>>>> remotes/origin/upstream
      }
    if (p->fill_outside_exists)
      {
         elm_icon_fill_outside_set(obj, p->fill_outside);
-<<<<<<< HEAD
-       param_icon->fill_outside = p->fill_outside;
-=======
         param_icon->fill_outside = p->fill_outside;
->>>>>>> remotes/origin/upstream
      }
    if (p->prescale_size_exists)
      {
         elm_icon_prescale_set(obj, p->prescale_size);
-<<<<<<< HEAD
-       param_icon->prescale_size = p->prescale_size;
-=======
         param_icon->prescale_size = p->prescale_size;
->>>>>>> remotes/origin/upstream
      }
    if (p->icon)
      {
@@ -144,48 +105,6 @@ external_icon_param_set(void *data __UNUSED__, Evas_Object *obj,
        return ret;
      }
    else if (!strcmp(param->name, "smooth")
-<<<<<<< HEAD
-                  && param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
-     {
-       elm_icon_smooth_set(obj, param->i);
-       param_icon->smooth = param->i;
-       return EINA_TRUE;
-     }
-   else if (!strcmp(param->name, "no scale")
-                  && param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
-     {
-       elm_icon_no_scale_set(obj, param->i);
-       param_icon->no_scale = param->i;
-       return EINA_TRUE;
-     }
-   else if (!strcmp(param->name, "scale up")
-                  && param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
-     {
-       elm_icon_scale_set(obj, param->i, param_icon->scale_down);
-       param_icon->scale_up = param->i;
-       return EINA_TRUE;
-     }
-   else if (!strcmp(param->name, "scale down")
-                  && param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
-     {
-       elm_icon_scale_set(obj, param_icon->scale_up, param->i);
-       param_icon->scale_down = param->i;
-       return EINA_TRUE;
-     }
-   else if (!strcmp(param->name, "fill outside")
-                  && param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
-     {
-       elm_icon_fill_outside_set(obj, param->i);
-       param_icon->fill_outside = param->i;
-       return EINA_TRUE;
-     }
-   else if (!strcmp(param->name, "prescale")
-                  && param->type == EDJE_EXTERNAL_PARAM_TYPE_INT)
-     {
-       elm_icon_prescale_set(obj, param->i);
-       param_icon->prescale_size = param->i;
-       return EINA_TRUE;
-=======
             && param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
      {
         elm_icon_smooth_set(obj, param->i);
@@ -226,7 +145,6 @@ external_icon_param_set(void *data __UNUSED__, Evas_Object *obj,
         elm_icon_prescale_set(obj, param->i);
         param_icon->prescale_size = param->i;
         return EINA_TRUE;
->>>>>>> remotes/origin/upstream
      }
    else if (!strcmp(param->name, "icon"))
      {
@@ -256,45 +174,6 @@ external_icon_param_get(void *data __UNUSED__,
                   && param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING)
      {
         param->s = param_icon->file;
-<<<<<<< HEAD
-       return EINA_TRUE;
-     }
-   else if (!strcmp(param->name, "smooth")
-                  && param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
-     {
-        param->i = param_icon->smooth;
-       return EINA_TRUE;
-     }
-   else if (!strcmp(param->name, "no scale")
-                  && param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
-     {
-        param->i = param_icon->no_scale;
-       return EINA_TRUE;
-     }
-   else if (!strcmp(param->name, "scale up")
-                  && param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
-     {
-        param->i = param_icon->scale_up;
-       return EINA_TRUE;
-     }
-   else if (!strcmp(param->name, "scale down")
-                  && param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
-     {
-       param->i = param_icon->scale_down;
-       return EINA_TRUE;
-     }
-   else if (!strcmp(param->name, "fill outside")
-                  && param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
-     {
-        param->i = param_icon->fill_outside;
-       return EINA_TRUE;
-     }
-   else if (!strcmp(param->name, "prescale")
-                  && param->type == EDJE_EXTERNAL_PARAM_TYPE_INT)
-     {
-        param->i = param_icon->prescale_size;
-       return EINA_TRUE;
-=======
         return EINA_TRUE;
      }
    else if (!strcmp(param->name, "smooth")
@@ -332,7 +211,6 @@ external_icon_param_get(void *data __UNUSED__,
      {
         param->i = param_icon->prescale_size;
         return EINA_TRUE;
->>>>>>> remotes/origin/upstream
      }
    else if (!strcmp(param->name, "icon"))
      {
@@ -361,38 +239,6 @@ external_icon_params_parse(void *data __UNUSED__, Evas_Object *obj __UNUSED__,
    EINA_LIST_FOREACH(params, l, param)
      {
         if (!strcmp(param->name, "file"))
-<<<<<<< HEAD
-         mem->file = eina_stringshare_add(param->s);
-       else if (!strcmp(param->name, "smooth"))
-         {
-            mem->smooth = param->i;
-            mem->smooth_exists = EINA_TRUE;
-         }
-       else if (!strcmp(param->name, "no scale"))
-         {
-            mem->no_scale = param->i;
-            mem->no_scale_exists = EINA_TRUE;
-         }
-       else if (!strcmp(param->name, "scale up"))
-         {
-            mem->scale_up = param->i;
-            mem->scale_up_exists = EINA_TRUE;
-         }
-       else if (!strcmp(param->name, "scale down"))
-         {
-            mem->scale_down = param->i;
-            mem->scale_down_exists = EINA_TRUE;
-         }
-       else if (!strcmp(param->name, "fill outside"))
-         {
-            mem->fill_outside = param->i;
-            mem->fill_outside_exists = EINA_TRUE;
-         }
-       else if (!strcmp(param->name, "prescale"))
-         {
-            mem->prescale_size = param->i;
-            mem->prescale_size_exists = EINA_TRUE;
-=======
           mem->file = eina_stringshare_add(param->s);
         else if (!strcmp(param->name, "smooth"))
           {
@@ -423,7 +269,6 @@ external_icon_params_parse(void *data __UNUSED__, Evas_Object *obj __UNUSED__,
           {
              mem->prescale_size = param->i;
              mem->prescale_size_exists = EINA_TRUE;
->>>>>>> remotes/origin/upstream
           }
         else if (!strcmp(param->name, "icon"))
           {
index b9fe1c6..8fc365d 100644 (file)
@@ -38,11 +38,7 @@ elm_main(int argc __UNUSED__, char **argv __UNUSED__)
    printf("path = %s, group = %s, name = %s\n", path, group, name);
 
    elm_icon_no_scale_set(icon, EINA_TRUE);
-<<<<<<< HEAD
-   elm_icon_scale_set(icon, EINA_FALSE, EINA_TRUE);
-=======
    elm_icon_resizable_set(icon, EINA_FALSE, EINA_TRUE);
->>>>>>> remotes/origin/upstream
    elm_icon_smooth_set(icon, EINA_FALSE);
    elm_icon_fill_outside_set(icon, EINA_TRUE);
 
index 5903f56..f3b2652 100644 (file)
@@ -36,11 +36,7 @@ elm_main(int argc __UNUSED__, char **argv __UNUSED__)
      }
 
    elm_image_no_scale_set(image, EINA_TRUE);
-<<<<<<< HEAD
-   elm_image_scale_set(image, EINA_FALSE, EINA_TRUE);
-=======
    elm_image_resizable_set(image, EINA_FALSE, EINA_TRUE);
->>>>>>> remotes/origin/upstream
    elm_image_smooth_set(image, EINA_FALSE);
    elm_image_orient_set(image, ELM_IMAGE_FLIP_HORIZONTAL);
    elm_image_aspect_fixed_set(image, EINA_TRUE);
index b1c6148..a2ba742 100644 (file)
@@ -74,11 +74,7 @@ static void
 _fit(void *data, Evas_Object *obj, void *event_info)
 {
    int x, y, w, h;
-<<<<<<< HEAD
-   elm_photocam_region_get(data, &x, &y, &w, &h);
-=======
    elm_photocam_image_region_get(data, &x, &y, &w, &h);
->>>>>>> remotes/origin/upstream
    printf("region: {%d, %d, %d, %d}\n", x, y, w, h);
    elm_photocam_zoom_mode_set(data, ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT);
 }
index 29127dc..edc23f1 100644 (file)
@@ -201,17 +201,10 @@ elm_bg_add(Evas_Object *parent)
    return obj;
 }
 
-<<<<<<< HEAD
-EAPI void
-elm_bg_file_set(Evas_Object *obj, const char *file, const char *group)
-{
-   ELM_CHECK_WIDTYPE(obj, widtype);
-=======
 EAPI Eina_Bool
 elm_bg_file_set(Evas_Object *obj, const char *file, const char *group)
 {
    ELM_CHECK_WIDTYPE(obj, widtype) EINA_FALSE;
->>>>>>> remotes/origin/upstream
    Widget_Data *wd = elm_widget_data_get(obj);
    const char *p;
 
@@ -226,11 +219,7 @@ elm_bg_file_set(Evas_Object *obj, const char *file, const char *group)
         wd->file = NULL;
         eina_stringshare_del(wd->group);
         wd->group = NULL;
-<<<<<<< HEAD
-        return;
-=======
         return EINA_TRUE;
->>>>>>> remotes/origin/upstream
      }
    eina_stringshare_replace(&wd->file, file);
    eina_stringshare_replace(&wd->group, group);
@@ -250,11 +239,8 @@ elm_bg_file_set(Evas_Object *obj, const char *file, const char *group)
    edje_object_part_swallow(wd->base, "elm.swallow.background", wd->img);
    elm_widget_sub_object_add(obj, wd->img);
    _custom_resize(wd, NULL, NULL, NULL);
-<<<<<<< HEAD
-=======
 
    return EINA_TRUE;
->>>>>>> remotes/origin/upstream
 }
 
 EAPI void
@@ -264,11 +250,8 @@ elm_bg_file_get(const Evas_Object *obj, const char **file, const char **group)
    Widget_Data *wd = elm_widget_data_get(obj);
    if (file) *file = wd->file;
    if (group) *group = wd->group;
-<<<<<<< HEAD
-=======
 
    return;
->>>>>>> remotes/origin/upstream
 }
 
 EAPI void
@@ -280,21 +263,14 @@ elm_bg_option_set(Evas_Object *obj, Elm_Bg_Option option)
    wd = elm_widget_data_get(obj);
    wd->option = option;
    _custom_resize(wd, NULL, NULL, NULL);
-<<<<<<< HEAD
-=======
 
    return;
->>>>>>> remotes/origin/upstream
 }
 
 EAPI Elm_Bg_Option
 elm_bg_option_get(const Evas_Object *obj)
 {
-<<<<<<< HEAD
-   ELM_CHECK_WIDTYPE(obj, widtype) 0;
-=======
    ELM_CHECK_WIDTYPE(obj, widtype) ELM_BG_OPTION_LAST;
->>>>>>> remotes/origin/upstream
    Widget_Data *wd;
 
    wd = elm_widget_data_get(obj);
@@ -316,11 +292,8 @@ elm_bg_color_set(Evas_Object *obj, int r, int g, int b)
         _custom_resize(wd, NULL, NULL, NULL);
      }
    evas_object_color_set(wd->rect, r, g, b, 255);
-<<<<<<< HEAD
-=======
 
    return;
->>>>>>> remotes/origin/upstream
 }
 
 EAPI void
@@ -331,29 +304,8 @@ elm_bg_color_get(const Evas_Object *obj, int *r, int *g, int *b)
 
    wd = elm_widget_data_get(obj);
    evas_object_color_get(wd->rect, r, g, b, NULL);
-<<<<<<< HEAD
-}
-
-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");
-=======
 
    return;
->>>>>>> remotes/origin/upstream
 }
 
 EAPI void
@@ -368,10 +320,7 @@ elm_bg_load_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h)
    if (!wd->img) return;
    if (!(((p = strrchr(wd->file, '.'))) && (!strcasecmp(p, ".edj"))))
      evas_object_image_load_size_set(wd->img, w, h);
-<<<<<<< HEAD
-=======
 
    return;
->>>>>>> remotes/origin/upstream
 }
 
index c5b8f50..cb1b7f5 100644 (file)
@@ -4,17 +4,6 @@
  * @image html img/widget/bg/preview-00.png
  * @image latex img/widget/bg/preview-00.eps
  *
-<<<<<<< HEAD
- * @brief Background object, used for setting a solid color, image or Edje
- * group as background to a window or any container object.
- *
- * The bg object is used for setting a solid background to a window or
- * packing into any container object. It works just like an image, but has
- * some properties useful to a background, like setting it to tiled,
- * centered, scaled or stretched.
- *
- * Default contents parts of the bg widget that you can use for are:
-=======
  * @brief Background object, used for setting a solid color, image or
  * Edje group as a background to a window or any container object.
  *
@@ -25,7 +14,6 @@
  * centered, scaled or stretched.
  *
  * Default content parts of the bg widget that you can use for are:
->>>>>>> remotes/origin/upstream
  * @li "overlay" - overlay of the bg
  *
  * Supported elm_object common APIs.
  * @li @ref bg_03_example_page
  */
 
-<<<<<<< HEAD
-/* bg */
-typedef enum
-{
-   ELM_BG_OPTION_CENTER, /**< center the background */
-   ELM_BG_OPTION_SCALE, /**< scale the background retaining aspect ratio */
-   ELM_BG_OPTION_STRETCH, /**< stretch the background to fill */
-   ELM_BG_OPTION_TILE /**< tile background at its original size */
-=======
 /**
  * Identifiers on how a background widget is to display its image --
  * if it was tset to use an image file.
@@ -62,7 +41,6 @@ typedef enum
    ELM_BG_OPTION_STRETCH, /**< stretch the background image to fill the widget's area */
    ELM_BG_OPTION_TILE, /**< tile background image at its original size */
    ELM_BG_OPTION_LAST /**< sentinel value, also used to indicate errors */
->>>>>>> remotes/origin/upstream
 } Elm_Bg_Option;
 
 /**
@@ -76,31 +54,6 @@ typedef enum
 EAPI Evas_Object                 *elm_bg_add(Evas_Object *parent);
 
 /**
-<<<<<<< HEAD
- * Set the file (image or edje) used for the background
- *
- * @param obj The bg object
- * @param file The file path
- * @param group Optional key (group in Edje) within the file
- *
- * This sets the image file used in the background object. The image (or edje)
- * will be stretched (retaining aspect if its an image file) to completely fill
- * the bg object. This may mean some parts are not visible.
- *
- * @note  Once the image of @p obj is set, a previously set one will be deleted,
- * even if @p file is NULL.
- *
- * @ingroup Bg
- */
-EAPI void                         elm_bg_file_set(Evas_Object *obj, const char *file, const char *group);
-
-/**
- * Get the file (image or edje) used for the background
- *
- * @param obj The bg object
- * @param file The file path
- * @param group Optional key (group in Edje) within the file
-=======
  * Set the file (image or edje collection) to give life for the
  * background
  *
@@ -140,22 +93,12 @@ EAPI Eina_Bool                    elm_bg_file_set(Evas_Object *obj, const char *
  *
  * @note Use @c NULL pointers on the file components you're not
  * interested in: they'll be ignored by the function.
->>>>>>> remotes/origin/upstream
  *
  * @ingroup Bg
  */
 EAPI void                         elm_bg_file_get(const Evas_Object *obj, const char **file, const char **group);
 
 /**
-<<<<<<< HEAD
- * Set the option used for the background image
- *
- * @param obj The bg object
- * @param option The desired background option (TILE, SCALE)
- *
- * This sets the option used for manipulating the display of the background
- * image. The image can be tiled or scaled.
-=======
  * Set the mode of display for a given background widget's image
  *
  * @param obj The background object handle
@@ -167,19 +110,12 @@ EAPI void                         elm_bg_file_get(const Evas_Object *obj, const
  * centered or stretched.
  *
  * @see elm_bg_option_get()
->>>>>>> remotes/origin/upstream
  *
  * @ingroup Bg
  */
 EAPI void                         elm_bg_option_set(Evas_Object *obj, Elm_Bg_Option option);
 
 /**
-<<<<<<< HEAD
- * Get the option used for the background image
- *
- * @param obj The bg object
- * @return The desired background option (CENTER, SCALE, STRETCH or TILE)
-=======
  * Get the mode of display for a given background widget's image
  *
  * @param obj The background object handle
@@ -187,23 +123,10 @@ EAPI void                         elm_bg_option_set(Evas_Object *obj, Elm_Bg_Opt
  * #ELM_BG_OPTION_LAST, on errors.
  *
  * @see elm_bg_option_set() for more details
->>>>>>> remotes/origin/upstream
  *
  * @ingroup Bg
  */
 EAPI Elm_Bg_Option                elm_bg_option_get(const Evas_Object *obj);
-<<<<<<< HEAD
-/**
- * Set the option used for the background color
- *
- * @param obj The bg object
- * @param r
- * @param g
- * @param b
- *
- * This sets the color used for the background rectangle. Its range goes
- * from 0 to 255.
-=======
 
 /**
  * Set the color on a given background widget
@@ -221,20 +144,10 @@ EAPI Elm_Bg_Option                elm_bg_option_get(const Evas_Object *obj);
  * color background.
  *
  * @see elm_bg_color_get()
->>>>>>> remotes/origin/upstream
  *
  * @ingroup Bg
  */
 EAPI void                         elm_bg_color_set(Evas_Object *obj, int r, int g, int b);
-<<<<<<< HEAD
-/**
- * Get the option used for the background color
- *
- * @param obj The bg object
- * @param r
- * @param g
- * @param b
-=======
 
 /**
  * Get the color set on a given background widget
@@ -248,30 +161,12 @@ EAPI void                         elm_bg_color_set(Evas_Object *obj, int r, int
  * interested in: they'll be ignored by the function.
  *
  * @see elm_bg_color_get() for more details
->>>>>>> remotes/origin/upstream
  *
  * @ingroup Bg
  */
 EAPI void                         elm_bg_color_get(const Evas_Object *obj, int *r, int *g, int *b);
 
 /**
-<<<<<<< HEAD
- * Set the size of the pixmap representation of the image.
- *
- * This option just makes sense if an image is going to be set in the bg.
- *
- * @param obj The bg object
- * @param w The new width of the image pixmap representation.
- * @param h The new height of the image pixmap representation.
- *
- * This function sets a new size for pixmap representation of the given bg
- * image. It allows the image to be loaded already in the specified size,
- * reducing the memory usage and load time when loading a big image with load
- * size set to a smaller size.
- *
- * NOTE: this is just a hint, the real size of the pixmap may differ
- * depending on the type of image being loaded, being bigger than requested.
-=======
  * Set the size of the pixmap representation of the image set on a
  * given background widget.
  *
@@ -291,7 +186,6 @@ EAPI void                         elm_bg_color_get(const Evas_Object *obj, int *
  * @note This is just a hint for the underlying system. The real size
  * of the pixmap may differ depending on the type of image being
  * loaded, being bigger than requested.
->>>>>>> remotes/origin/upstream
  *
  * @ingroup Bg
  */
index 835ec21..54024d8 100644 (file)
@@ -700,11 +700,7 @@ elm_icon_thumb_set(Evas_Object *obj, const char *file, const char *group)
    eina_stringshare_replace(&wd->thumb.file.path, file);
    eina_stringshare_replace(&wd->thumb.file.key, group);
 
-<<<<<<< HEAD
-   if (elm_thumb_ethumb_client_connected())
-=======
    if (elm_thumb_ethumb_client_connected_get())
->>>>>>> remotes/origin/upstream
      {
         _icon_thumb_apply(wd);
         return ;
@@ -721,10 +717,7 @@ elm_icon_thumb_set(Evas_Object *obj, const char *file, const char *group)
 #endif
 }
 
-<<<<<<< HEAD
-=======
 
->>>>>>> remotes/origin/upstream
 EAPI Eina_Bool
 elm_icon_animated_available_get(const Evas_Object *obj)
 {
@@ -898,11 +891,6 @@ elm_icon_no_scale_get(const Evas_Object *obj)
    return wd->no_scale;
 }
 
-<<<<<<< HEAD
-EAPI void
-elm_icon_scale_set(Evas_Object *obj, Eina_Bool scale_up, Eina_Bool scale_down)
-{
-=======
 EINA_DEPRECATED EAPI void
 elm_icon_scale_set(Evas_Object *obj, Eina_Bool scale_up, Eina_Bool scale_down)
 {
@@ -918,38 +906,23 @@ elm_icon_scale_get(const Evas_Object *obj, Eina_Bool *scale_up, Eina_Bool *scale
 EAPI void
 elm_icon_resizable_set(Evas_Object *obj, Eina_Bool size_up, Eina_Bool size_down)
 {
->>>>>>> remotes/origin/upstream
    ELM_CHECK_WIDTYPE(obj, widtype);
    Widget_Data *wd = elm_widget_data_get(obj);
 
    if (!wd) return;
-<<<<<<< HEAD
-   wd->scale_up = scale_up;
-   wd->scale_down = scale_down;
-=======
    wd->scale_up = size_up;
    wd->scale_down = size_down;
->>>>>>> remotes/origin/upstream
    if (!wd->in_eval) _sizing_eval(obj);
 }
 
 EAPI void
-<<<<<<< HEAD
-elm_icon_scale_get(const Evas_Object *obj, Eina_Bool *scale_up, Eina_Bool *scale_down)
-=======
 elm_icon_resizable_get(const Evas_Object *obj, Eina_Bool *size_up, Eina_Bool *size_down)
->>>>>>> remotes/origin/upstream
 {
    ELM_CHECK_WIDTYPE(obj, widtype);
    Widget_Data *wd = elm_widget_data_get(obj);
    if (!wd) return;
-<<<<<<< HEAD
-   if (scale_up) *scale_up = wd->scale_up;
-   if (scale_down) *scale_down = wd->scale_down;
-=======
    if (size_up) *size_up = wd->scale_up;
    if (size_down) *size_down = wd->scale_down;
->>>>>>> remotes/origin/upstream
 }
 
 EAPI void
@@ -1014,19 +987,12 @@ elm_icon_object_get(Evas_Object *obj)
 }
 
 EAPI void
-<<<<<<< HEAD
-elm_icon_preload_set(Evas_Object *obj, Eina_Bool disable)
-=======
 elm_icon_preload_disabled_set(Evas_Object *obj, Eina_Bool disabled)
->>>>>>> remotes/origin/upstream
 {
    ELM_CHECK_WIDTYPE(obj, widtype);
    Widget_Data *wd = elm_widget_data_get(obj);
 
    if (!wd) return;
-<<<<<<< HEAD
-   _els_smart_icon_preload_set(wd->img, disable);
-=======
    _els_smart_icon_preload_set(wd->img, !!disabled);
 }
 
@@ -1052,5 +1018,4 @@ elm_icon_aspect_fixed_get(const Evas_Object *obj)
    Widget_Data *wd = elm_widget_data_get(obj);
    if (!wd) return EINA_FALSE;
    return _els_smart_icon_aspect_fixed_get(wd->img);
->>>>>>> remotes/origin/upstream
 }
index c4f698d..3f4b078 100644 (file)
@@ -271,17 +271,10 @@ EAPI Eina_Bool             elm_icon_smooth_get(const Evas_Object *obj);
  * This function disables scaling of the icon object through the function
  * elm_object_scale_set(). However, this does not affect the object
  * size/resize in any way. For that effect, take a look at
-<<<<<<< HEAD
- * elm_icon_scale_set().
- *
- * @see elm_icon_no_scale_get()
- * @see elm_icon_scale_set()
-=======
  * elm_icon_resizable_set().
  *
  * @see elm_icon_no_scale_get()
  * @see elm_icon_resizable_set()
->>>>>>> remotes/origin/upstream
  * @see elm_object_scale_set()
  *
  * @ingroup Icon
@@ -304,22 +297,6 @@ EAPI Eina_Bool             elm_icon_no_scale_get(const Evas_Object *obj);
  * Set if the object is (up/down) resizable.
  *
  * @param obj The icon object
-<<<<<<< HEAD
- * @param scale_up A bool to set if the object is resizable up. Default is
- * @c EINA_TRUE.
- * @param scale_down A bool to set if the object is resizable down. Default
- * is @c EINA_TRUE.
- *
- * This function limits the icon object resize ability. If @p scale_up is set to
- * @c EINA_FALSE, the object can't have its height or width resized to a value
- * higher than the original icon size. Same is valid for @p scale_down.
- *
- * @see elm_icon_scale_get()
- *
- * @ingroup Icon
- */
-EAPI void                  elm_icon_scale_set(Evas_Object *obj, Eina_Bool scale_up, Eina_Bool scale_down);
-=======
  * @param size_up A bool to set if the object is resizable up. Default is
  * @c EINA_TRUE.
  * @param size_down A bool to set if the object is resizable down. Default
@@ -334,22 +311,11 @@ EAPI void                  elm_icon_scale_set(Evas_Object *obj, Eina_Bool scale_
  * @ingroup Icon
  */
 EAPI void                  elm_icon_resizable_set(Evas_Object *obj, Eina_Bool size_up, Eina_Bool size_down);
->>>>>>> remotes/origin/upstream
 
 /**
  * Get if the object is (up/down) resizable.
  *
  * @param obj The icon object
-<<<<<<< HEAD
- * @param scale_up A bool to set if the object is resizable up
- * @param scale_down A bool to set if the object is resizable down
- *
- * @see elm_icon_scale_set()
- *
- * @ingroup Icon
- */
-EAPI void                  elm_icon_scale_get(const Evas_Object *obj, Eina_Bool *scale_up, Eina_Bool *scale_down);
-=======
  * @param size_up A bool to set if the object is resizable up
  * @param size_down A bool to set if the object is resizable down
  *
@@ -358,7 +324,6 @@ EAPI void                  elm_icon_scale_get(const Evas_Object *obj, Eina_Bool
  * @ingroup Icon
  */
 EAPI void                  elm_icon_resizable_get(const Evas_Object *obj, Eina_Bool *size_up, Eina_Bool *size_down);
->>>>>>> remotes/origin/upstream
 
 /**
  * Get the object's image size
@@ -487,17 +452,10 @@ EAPI Elm_Icon_Lookup_Order elm_icon_order_lookup_get(const Evas_Object *obj);
  * Enable or disable preloading of the icon
  *
  * @param obj The icon object
-<<<<<<< HEAD
- * @param disable If EINA_TRUE, preloading will be disabled
- * @ingroup Icon
- */
-EAPI void                  elm_icon_preload_set(Evas_Object *obj, Eina_Bool disable);
-=======
  * @param disabled If EINA_TRUE, preloading will be disabled
  * @ingroup Icon
  */
 EAPI void                  elm_icon_preload_disabled_set(Evas_Object *obj, Eina_Bool disabled);
->>>>>>> remotes/origin/upstream
 
 /**
  * Get if the icon supports animation or not.
@@ -508,11 +466,7 @@ EAPI void                  elm_icon_preload_disabled_set(Evas_Object *obj, Eina_
  *
  * Return if this elm icon's image can be animated. Currently Evas only
  * supports gif animation. If the return value is EINA_FALSE, other
-<<<<<<< HEAD
- * elm_icon_animated_XXX APIs won't work.
-=======
  * elm_icon_animated_xxx APIs won't work.
->>>>>>> remotes/origin/upstream
  * @ingroup Icon
  */
 EAPI Eina_Bool             elm_icon_animated_available_get(const Evas_Object *obj);
@@ -521,11 +475,7 @@ EAPI Eina_Bool             elm_icon_animated_available_get(const Evas_Object *ob
  * Set animation mode of the icon.
  *
  * @param obj The icon object
-<<<<<<< HEAD
- * @param anim @c EINA_TRUE if the object do animation job,
-=======
  * @param animated @c EINA_TRUE if the object do animation job,
->>>>>>> remotes/origin/upstream
  * @c EINA_FALSE otherwise. Default is @c EINA_FALSE.
  *
  * Since the default animation mode is set to EINA_FALSE,
@@ -554,11 +504,7 @@ EAPI Eina_Bool             elm_icon_animated_get(const Evas_Object *obj);
  * @param play @c EINA_TRUE the object play animation images,
  * @c EINA_FALSE otherwise. Default is @c EINA_FALSE.
  *
-<<<<<<< HEAD
- * To play elm icon's animation, set play to EINA_TURE.
-=======
  * To play elm icon's animation, set play to EINA_TRUE.
->>>>>>> remotes/origin/upstream
  * For example, you make gif player using this set/get API and click event.
  * This literally lets you control current play or paused state. To have
  * this work with animated GIF files for example, you first, before
@@ -566,11 +512,7 @@ EAPI Eina_Bool             elm_icon_animated_get(const Evas_Object *obj);
  * at all on the icon.
  *
  * 1. Click event occurs
-<<<<<<< HEAD
- * 2. Check play flag using elm_icon_animaged_play_get
-=======
  * 2. Check play flag using elm_icon_animated_play_get
->>>>>>> remotes/origin/upstream
  * 3. If elm icon was playing, set play to EINA_FALSE.
  *    Then animation will be stopped and vice versa
  * @ingroup Icon
@@ -589,8 +531,6 @@ EAPI void                  elm_icon_animated_play_set(Evas_Object *obj, Eina_Boo
 EAPI Eina_Bool             elm_icon_animated_play_get(const Evas_Object *obj);
 
 /**
-<<<<<<< HEAD
-=======
  * Set whether the original aspect ratio of the icon should be kept on resize.
  *
  * @param obj The icon object.
@@ -621,6 +561,5 @@ EAPI void             elm_icon_aspect_fixed_set(Evas_Object *obj, Eina_Bool fixe
 EAPI Eina_Bool        elm_icon_aspect_fixed_get(const Evas_Object *obj);
 
 /**
->>>>>>> remotes/origin/upstream
  * @}
  */
index 82e287e..da7a4da 100644 (file)
@@ -211,11 +211,6 @@ elm_image_no_scale_get(const Evas_Object *obj)
    return wd->no_scale;
 }
 
-<<<<<<< HEAD
-EAPI void
-elm_image_scale_set(Evas_Object *obj, Eina_Bool scale_up, Eina_Bool scale_down)
-{
-=======
 EINA_DEPRECATED EAPI void
 elm_image_scale_set(Evas_Object *obj, Eina_Bool scale_up, Eina_Bool scale_down)
 {
@@ -231,38 +226,23 @@ elm_image_scale_get(const Evas_Object *obj, Eina_Bool *scale_up, Eina_Bool *scal
 EAPI void
 elm_image_resizable_set(Evas_Object *obj, Eina_Bool size_up, Eina_Bool size_down)
 {
->>>>>>> remotes/origin/upstream
    ELM_CHECK_WIDTYPE(obj, widtype);
    Widget_Data *wd = elm_widget_data_get(obj);
 
    if (!wd) return;
-<<<<<<< HEAD
-   wd->scale_up = scale_up;
-   wd->scale_down = scale_down;
-=======
    wd->scale_up = size_up;
    wd->scale_down = size_down;
->>>>>>> remotes/origin/upstream
    _sizing_eval(obj);
 }
 
 EAPI void
-<<<<<<< HEAD
-elm_image_scale_get(const Evas_Object *obj, Eina_Bool *scale_up, Eina_Bool *scale_down)
-=======
 elm_image_resizable_get(const Evas_Object *obj, Eina_Bool *size_up, Eina_Bool *size_down)
->>>>>>> remotes/origin/upstream
 {
    ELM_CHECK_WIDTYPE(obj, widtype);
    Widget_Data *wd = elm_widget_data_get(obj);
    if (!wd) return;
-<<<<<<< HEAD
-   if (scale_up) *scale_up = wd->scale_up;
-   if (scale_down) *scale_down = wd->scale_down;
-=======
    if (size_up) *size_up = wd->scale_up;
    if (size_down) *size_down = wd->scale_down;
->>>>>>> remotes/origin/upstream
 }
 
 EAPI void
@@ -287,8 +267,6 @@ elm_image_fill_outside_get(const Evas_Object *obj)
 }
 
 EAPI void
-<<<<<<< HEAD
-=======
 elm_image_preload_disabled_set(Evas_Object *obj, Eina_Bool disabled)
 {
    ELM_CHECK_WIDTYPE(obj, widtype);
@@ -299,7 +277,6 @@ elm_image_preload_disabled_set(Evas_Object *obj, Eina_Bool disabled)
 }
 
 EAPI void
->>>>>>> remotes/origin/upstream
 elm_image_prescale_set(Evas_Object *obj, int size)
 {
    ELM_CHECK_WIDTYPE(obj, widtype);
@@ -372,11 +349,7 @@ elm_image_aspect_fixed_set(Evas_Object *obj, Eina_Bool fixed)
    ELM_CHECK_WIDTYPE(obj, widtype);
    Widget_Data *wd = elm_widget_data_get(obj);
    if (!wd) return;
-<<<<<<< HEAD
-   return _els_smart_icon_aspect_fixed_set(wd->img, fixed);
-=======
    _els_smart_icon_aspect_fixed_set(wd->img, fixed);
->>>>>>> remotes/origin/upstream
 }
 
 EAPI Eina_Bool
index e19cc1c..465c0d3 100644 (file)
@@ -134,11 +134,6 @@ EAPI Eina_Bool        elm_image_smooth_get(const Evas_Object *obj);
  *
  * This is the real size of the image, not the size of the object.
  *
-<<<<<<< HEAD
- * On error, neither w and h will be fileld with 0.
- *
-=======
->>>>>>> remotes/origin/upstream
  * @ingroup Image
  */
 EAPI void             elm_image_object_size_get(const Evas_Object *obj, int *w, int *h);
@@ -153,17 +148,10 @@ EAPI void             elm_image_object_size_get(const Evas_Object *obj, int *w,
  * This function disables scaling of the elm_image widget through the
  * function elm_object_scale_set(). However, this does not affect the widget
  * size/resize in any way. For that effect, take a look at
-<<<<<<< HEAD
- * elm_image_scale_set().
- *
- * @see elm_image_no_scale_get()
- * @see elm_image_scale_set()
-=======
  * elm_image_resizable_set().
  *
  * @see elm_image_no_scale_get()
  * @see elm_image_resizable_set()
->>>>>>> remotes/origin/upstream
  * @see elm_object_scale_set()
  *
  * @ingroup Image
@@ -186,22 +174,6 @@ EAPI Eina_Bool        elm_image_no_scale_get(const Evas_Object *obj);
  * Set if the object is (up/down) resizable.
  *
  * @param obj The image object
-<<<<<<< HEAD
- * @param scale_up A bool to set if the object is resizable up. Default is
- * @c EINA_TRUE.
- * @param scale_down A bool to set if the object is resizable down. Default
- * is @c EINA_TRUE.
- *
- * This function limits the image resize ability. If @p scale_up is set to
- * @c EINA_FALSE, the object can't have its height or width resized to a value
- * higher than the original image size. Same is valid for @p scale_down.
- *
- * @see elm_image_scale_get()
- *
- * @ingroup Image
- */
-EAPI void             elm_image_scale_set(Evas_Object *obj, Eina_Bool scale_up, Eina_Bool scale_down);
-=======
  * @param size_up A bool to set if the object is resizable up. Default is
  * @c EINA_TRUE.
  * @param size_down A bool to set if the object is resizable down. Default
@@ -216,22 +188,11 @@ EAPI void             elm_image_scale_set(Evas_Object *obj, Eina_Bool scale_up,
  * @ingroup Image
  */
 EAPI void             elm_image_resizable_set(Evas_Object *obj, Eina_Bool size_up, Eina_Bool size_down);
->>>>>>> remotes/origin/upstream
 
 /**
  * Get if the object is (up/down) resizable.
  *
  * @param obj The image object
-<<<<<<< HEAD
- * @param scale_up A bool to set if the object is resizable up
- * @param scale_down A bool to set if the object is resizable down
- *
- * @see elm_image_scale_set()
- *
- * @ingroup Image
- */
-EAPI void             elm_image_scale_get(const Evas_Object *obj, Eina_Bool *scale_up, Eina_Bool *scale_down);
-=======
  * @param size_up A bool to set if the object is resizable up
  * @param size_down A bool to set if the object is resizable down
  *
@@ -240,7 +201,6 @@ EAPI void             elm_image_scale_get(const Evas_Object *obj, Eina_Bool *sca
  * @ingroup Image
  */
 EAPI void             elm_image_resizable_get(const Evas_Object *obj, Eina_Bool *size_up, Eina_Bool *size_down);
->>>>>>> remotes/origin/upstream
 
 /**
  * Set if the image fills the entire object area, when keeping the aspect ratio.
@@ -278,8 +238,6 @@ EAPI void             elm_image_fill_outside_set(Evas_Object *obj, Eina_Bool fil
 EAPI Eina_Bool        elm_image_fill_outside_get(const Evas_Object *obj);
 
 /**
-<<<<<<< HEAD
-=======
  * Enable or disable preloading of the image
  *
  * @param obj The image object
@@ -289,7 +247,6 @@ EAPI Eina_Bool        elm_image_fill_outside_get(const Evas_Object *obj);
 EAPI void                  elm_image_preload_disabled_set(Evas_Object *obj, Eina_Bool disabled);
 
 /**
->>>>>>> remotes/origin/upstream
  * Set the prescale size for the image
  *
  * @param obj The image object
@@ -368,11 +325,7 @@ EAPI Elm_Image_Orient elm_image_orient_get(const Evas_Object *obj);
 EAPI void             elm_image_editable_set(Evas_Object *obj, Eina_Bool set);
 
 /**
-<<<<<<< HEAD
- * Check if the image 'editable'.
-=======
  * Check if the image is 'editable'.
->>>>>>> remotes/origin/upstream
  *
  * @param obj Image object.
  * @return Editability.
@@ -385,11 +338,7 @@ EAPI void             elm_image_editable_set(Evas_Object *obj, Eina_Bool set);
 EAPI Eina_Bool        elm_image_editable_get(const Evas_Object *obj);
 
 /**
-<<<<<<< HEAD
- * Get the basic Evas_Image object from this object (widget).
-=======
  * Get the inlined image object of the image widget.
->>>>>>> remotes/origin/upstream
  *
  * @param obj The image object to get the inlined image from
  * @return The inlined image object, or NULL if none exists
index 13f760c..001d59e 100644 (file)
@@ -591,11 +591,7 @@ elm_photo_thumb_set(const Evas_Object *obj, const char *file, const char *group)
    eina_stringshare_replace(&wd->thumb.file.path, file);
    eina_stringshare_replace(&wd->thumb.file.key, group);
 
-<<<<<<< HEAD
-   if (elm_thumb_ethumb_client_connected())
-=======
    if (elm_thumb_ethumb_client_connected_get())
->>>>>>> remotes/origin/upstream
      {
         _icon_thumb_apply(wd);
         return ;
index c264a97..9228c23 100644 (file)
@@ -1,23 +1,14 @@
 /**
  * @defgroup Photo Photo
  *
-<<<<<<< HEAD
- * For displaying the photo of a person (contact). Simple, yet
-=======
  * For displaying a photo, for ex., a person (contact). Simple, yet
->>>>>>> remotes/origin/upstream
  * with a very specific purpose.
  *
  * Signals that you can add callbacks for are:
  *
  * "clicked" - This is called when a user has clicked the photo
-<<<<<<< HEAD
- * "drag,start" - Someone started dragging the image out of the object
- * "drag,end" - Dragged item was dropped (somewhere)
-=======
  * "drag,start" - dragging the image out of the photo object
  * "drag,end" - Drop the dragged item  
->>>>>>> remotes/origin/upstream
  *
  * @{
  */
@@ -48,11 +39,7 @@ EAPI Eina_Bool elm_photo_file_set(Evas_Object *obj, const char *file);
  * Set the file that will be used as thumbnail in the photo.
  *
  * @param obj The photo object.
-<<<<<<< HEAD
- * @param file The path to file that will be used as thumb.
-=======
  * @param file The path to file that will be used as thumbnail.
->>>>>>> remotes/origin/upstream
  * @param group The key used in case of an EET file.
  *
  * @ingroup Photo
@@ -63,11 +50,7 @@ EAPI void      elm_photo_thumb_set(const Evas_Object *obj, const char *file, con
  * Set the size that will be used on the photo
  *
  * @param obj The photo object
-<<<<<<< HEAD
- * @param size The size that the photo will be
-=======
  * @param size The size of the photo
->>>>>>> remotes/origin/upstream
  *
  * @ingroup Photo
  */
@@ -91,11 +74,7 @@ EAPI void      elm_photo_fill_inside_set(Evas_Object *obj, Eina_Bool fill);
  * the image will delete the existing content.
  *
  * @param obj The photo object.
-<<<<<<< HEAD
- * @param set To set of clear editablity.
-=======
  * @param set To set of clear editability.
->>>>>>> remotes/origin/upstream
  */
 EAPI void      elm_photo_editable_set(Evas_Object *obj, Eina_Bool set);
 
@@ -118,11 +97,7 @@ EAPI void      elm_photo_editable_set(Evas_Object *obj, Eina_Bool set);
 EAPI void             elm_photo_aspect_fixed_set(Evas_Object *obj, Eina_Bool fixed);
 
 /**
-<<<<<<< HEAD
- * Get if the object fixes the original aspect ratio.
-=======
  * Get if the object keeps the original aspect ratio.
->>>>>>> remotes/origin/upstream
  *
  * @param obj The photo object.
  * @return @c EINA_TRUE if the object keeps the original aspect, @c EINA_FALSE
index 09519fd..c077f04 100644 (file)
@@ -44,19 +44,14 @@ struct _Widget_Data
    Evas_Object *obj;
    Evas_Object *scr;
    Evas_Object *pan_smart;
-<<<<<<< HEAD
-=======
    Evas_Object *gest;
    double       gest_start;
 
->>>>>>> remotes/origin/upstream
    Pan *pan;
    Evas_Coord pan_x, pan_y, minw, minh;
 
    double zoom;
    Elm_Photocam_Zoom_Mode mode;
-<<<<<<< HEAD
-=======
    Evas_Coord pvx, pvy, px, py, zoom_point_x, zoom_point_y;
    struct
    {
@@ -70,7 +65,6 @@ struct _Widget_Data
          Ecore_Animator *animator;
       } bounce;
    } gzoom;
->>>>>>> remotes/origin/upstream
    const char *file;
 
    Ecore_Job *calc_job;
@@ -104,11 +98,8 @@ struct _Widget_Data
    Eina_Bool on_hold : 1;
    Eina_Bool paused : 1;
    Eina_Bool do_region : 1;
-<<<<<<< HEAD
-=======
    Eina_Bool do_gesture : 1;
    Eina_Bool zoom_gest : 1;
->>>>>>> remotes/origin/upstream
 };
 
 struct _Pan
@@ -191,16 +182,11 @@ img_place(Evas_Object *obj, Evas_Coord px, Evas_Coord py, Evas_Coord ox, Evas_Co
    ay = 0;
    gw = wd->size.w;
    gh = wd->size.h;
-<<<<<<< HEAD
-   if (ow > gw) ax = (ow - gw) / 2;
-   if (oh > gh) ay = (oh - gh) / 2;
-=======
    if (!wd->zoom_gest)
      {
         if (ow > gw) ax = (ow - gw) / 2;
         if (oh > gh) ay = (oh - gh) / 2;
      }
->>>>>>> remotes/origin/upstream
    evas_object_move(wd->img, ox + 0 - px + ax, oy + 0 - py + ay);
    evas_object_resize(wd->img, gw, gh);
 
@@ -222,16 +208,11 @@ grid_place(Evas_Object *obj, Grid *g, Evas_Coord px, Evas_Coord py, Evas_Coord o
    ay = 0;
    gw = wd->size.w;
    gh = wd->size.h;
-<<<<<<< HEAD
-   if (ow > gw) ax = (ow - gw) / 2;
-   if (oh > gh) ay = (oh - gh) / 2;
-=======
    if (!wd->zoom_gest)
      {
         if (ow > gw) ax = (ow - gw) / 2;
         if (oh > gh) ay = (oh - gh) / 2;
      }
->>>>>>> remotes/origin/upstream
    for (y = 0; y < g->gh; y++)
      {
         for (x = 0; x < g->gw; x++)
@@ -746,10 +727,7 @@ _del_hook(Evas_Object *obj)
    if (wd->calc_job) ecore_job_del(wd->calc_job);
    if (wd->scr_timer) ecore_timer_del(wd->scr_timer);
    if (wd->zoom_animator) ecore_animator_del(wd->zoom_animator);
-<<<<<<< HEAD
-=======
    if (wd->gzoom.bounce.animator) ecore_animator_del(wd->gzoom.bounce.animator);
->>>>>>> remotes/origin/upstream
    if (wd->long_timer) ecore_timer_del(wd->long_timer);
    free(wd);
 }
@@ -933,13 +911,6 @@ _pan_calculate(Evas_Object *obj)
    Grid *g;
    if (!sd) return;
    evas_object_geometry_get(obj, &ox, &oy, &ow, &oh);
-<<<<<<< HEAD
-   img_place(sd->wd->obj, sd->wd->pan_x, sd->wd->pan_y, ox, oy, ow, oh);
-   EINA_LIST_FOREACH(sd->wd->grids, l, g)
-     {
-        grid_load(sd->wd->obj, g);
-        grid_place(sd->wd->obj, g, sd->wd->pan_x, sd->wd->pan_y, ox, oy, ow, oh);
-=======
    img_place(sd->wd->obj, sd->wd->pan_x, sd->wd->pan_y,
              ox - sd->wd->gzoom.imx, oy - sd->wd->gzoom.imy, ow, oh);
    EINA_LIST_FOREACH(sd->wd->grids, l, g)
@@ -947,7 +918,6 @@ _pan_calculate(Evas_Object *obj)
         grid_load(sd->wd->obj, g);
         grid_place(sd->wd->obj, g, sd->wd->pan_x, sd->wd->pan_y,
                    ox - sd->wd->gzoom.imx, oy - sd->wd->gzoom.imy, ow, oh);
->>>>>>> remotes/origin/upstream
      }
 }
 
@@ -1107,8 +1077,6 @@ _event_hook(Evas_Object *obj, Evas_Object *src __UNUSED__,
    return EINA_TRUE;
 }
 
-<<<<<<< HEAD
-=======
 Eina_Bool
 _bounce_eval(void *_wd)
 {
@@ -1348,7 +1316,6 @@ _gzoom_end(void *_wd, void *event_info __UNUSED__)
    return EVAS_EVENT_FLAG_NONE;
 }
 
->>>>>>> remotes/origin/upstream
 EAPI Evas_Object *
 elm_photocam_add(Evas_Object *parent)
 {
@@ -1419,16 +1386,10 @@ elm_photocam_add(Evas_Object *parent)
                                      _pan_set, _pan_get, _pan_max_get,
                                      _pan_min_get, _pan_child_size_get);
 
-<<<<<<< HEAD
-   wd->zoom = 1;
-   wd->mode = ELM_PHOTOCAM_ZOOM_MODE_MANUAL;
-
-=======
    wd->zoom_gest = EINA_FALSE;
    wd->gest_start = 1.0;
    wd->zoom = 1;
    wd->mode = ELM_PHOTOCAM_ZOOM_MODE_MANUAL;
->>>>>>> remotes/origin/upstream
    wd->tsize = 512;
 
    wd->img = evas_object_image_add(e);
@@ -1478,14 +1439,11 @@ elm_photocam_file_set(Evas_Object *obj, const char *file)
    wd->size.imh = h;
    wd->size.w = wd->size.imw / wd->zoom;
    wd->size.h = wd->size.imh / wd->zoom;
-<<<<<<< HEAD
-=======
    if (wd->gzoom.bounce.animator)
      {
         ecore_animator_del(wd->gzoom.bounce.animator);
         wd->gzoom.bounce.animator = NULL;
      }
->>>>>>> remotes/origin/upstream
    if (wd->zoom_animator)
      {
         wd->nosmooth--;
@@ -1508,19 +1466,11 @@ elm_photocam_file_set(Evas_Object *obj, const char *file)
                                 "elm,state,busy,start", "elm");
         evas_object_smart_callback_call(obj, SIG_LOAD_DETAIL, NULL);
      }
-<<<<<<< HEAD
-     {
-        double tz = wd->zoom;
-        wd->zoom = 0.0;
-        elm_photocam_zoom_set(wd->obj, tz);
-     }
-=======
    {
       double tz = wd->zoom;
       wd->zoom = 0.0;
       elm_photocam_zoom_set(wd->obj, tz);
    }
->>>>>>> remotes/origin/upstream
    return evas_object_image_load_error_get(wd->img);
 }
 
@@ -1619,8 +1569,6 @@ elm_photocam_zoom_set(Evas_Object *obj, double zoom)
              wd->size.nh = ph;
           }
      }
-<<<<<<< HEAD
-=======
    else if (wd->mode == ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT_IN)
      {
         if ((wd->size.imw < 1) || (wd->size.imh < 1))
@@ -1656,7 +1604,6 @@ elm_photocam_zoom_set(Evas_Object *obj, double zoom)
              wd->size.nh = ph;
           }
      }
->>>>>>> remotes/origin/upstream
    if (wd->main_load_pending)
      {
         wd->size.w = wd->size.nw;
@@ -1697,11 +1644,7 @@ elm_photocam_zoom_set(Evas_Object *obj, double zoom)
              free(g);
           }
      }
-<<<<<<< HEAD
-done:
-=======
  done:
->>>>>>> remotes/origin/upstream
    wd->t_start = ecore_loop_time_get();
    wd->t_end = wd->t_start + _elm_config->zoom_friction;
    if ((wd->size.w > 0) && (wd->size.h > 0))
@@ -1771,19 +1714,11 @@ elm_photocam_zoom_mode_set(Evas_Object *obj, Elm_Photocam_Zoom_Mode mode)
    if (!wd) return;
    if (wd->mode == mode) return;
    wd->mode = mode;
-<<<<<<< HEAD
-     {
-        double tz = wd->zoom;
-        wd->zoom = 0.0;
-        elm_photocam_zoom_set(wd->obj, tz);
-     }
-=======
    {
       double tz = wd->zoom;
       wd->zoom = 0.0;
       elm_photocam_zoom_set(wd->obj, tz);
    }
->>>>>>> remotes/origin/upstream
 }
 
 EAPI Elm_Photocam_Zoom_Mode
@@ -1805,11 +1740,6 @@ elm_photocam_image_size_get(const Evas_Object *obj, int *w, int *h)
    if (h) *h = wd->size.imh;
 }
 
-<<<<<<< HEAD
-EAPI void
-elm_photocam_region_get(const Evas_Object *obj, int *x, int *y, int *w, int *h)
-{
-=======
 EINA_DEPRECATED EAPI void
 elm_photocam_region_get(const Evas_Object *obj, int *x, int *y, int *w, int *h)
 {
@@ -1819,7 +1749,6 @@ elm_photocam_region_get(const Evas_Object *obj, int *x, int *y, int *w, int *h)
 EAPI void
 elm_photocam_image_region_get(const Evas_Object *obj, int *x, int *y, int *w, int *h)
 {
->>>>>>> remotes/origin/upstream
    ELM_CHECK_WIDTYPE(obj, widtype);
    Widget_Data *wd = elm_widget_data_get(obj);
    Evas_Coord sx, sy, sw, sh;
@@ -1883,15 +1812,12 @@ elm_photocam_image_region_show(Evas_Object *obj, int x, int y, int w, int h __UN
    if (rh < 1) rh = 1;
    if ((rx + rw) > wd->size.w) rx = wd->size.w - rw;
    if ((ry + rh) > wd->size.h) ry = wd->size.h - rh;
-<<<<<<< HEAD
-=======
    if (wd->gzoom.bounce.animator)
      {
         ecore_animator_del(wd->gzoom.bounce.animator);
         wd->gzoom.bounce.animator = NULL;
         zoom_do(obj, 1.0);
      }
->>>>>>> remotes/origin/upstream
    if (wd->zoom_animator)
      {
         wd->nosmooth--;
@@ -1919,15 +1845,12 @@ elm_photocam_image_region_bring_in(Evas_Object *obj, int x, int y, int w, int h
    if (rh < 1) rh = 1;
    if ((rx + rw) > wd->size.w) rx = wd->size.w - rw;
    if ((ry + rh) > wd->size.h) ry = wd->size.h - rh;
-<<<<<<< HEAD
-=======
    if (wd->gzoom.bounce.animator)
      {
         ecore_animator_del(wd->gzoom.bounce.animator);
         wd->gzoom.bounce.animator = NULL;
         zoom_do(obj, 1.0);
      }
->>>>>>> remotes/origin/upstream
    if (wd->zoom_animator)
      {
         wd->nosmooth--;
@@ -1950,15 +1873,12 @@ elm_photocam_paused_set(Evas_Object *obj, Eina_Bool paused)
    wd->paused = paused;
    if (wd->paused)
      {
-<<<<<<< HEAD
-=======
         if (wd->gzoom.bounce.animator)
           {
              ecore_animator_del(wd->gzoom.bounce.animator);
              wd->gzoom.bounce.animator = NULL;
              zoom_do(obj, 1.0);
           }
->>>>>>> remotes/origin/upstream
         if (wd->zoom_animator)
           {
              ecore_animator_del(wd->zoom_animator);
@@ -2005,8 +1925,6 @@ elm_photocam_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *
    elm_smart_scroller_bounce_allow_get(wd->scr, h_bounce, v_bounce);
 }
 
-<<<<<<< HEAD
-=======
 EAPI void
 elm_photocam_gesture_enabled_set(Evas_Object *obj, Eina_Bool gesture)
 {
@@ -2048,4 +1966,3 @@ elm_photocam_gesture_enabled_get(const Evas_Object *obj)
 
    return wd->do_gesture;
 }
->>>>>>> remotes/origin/upstream
index a949fff..9043f7c 100644 (file)
@@ -45,11 +45,7 @@ typedef enum
    ELM_PHOTOCAM_ZOOM_MODE_MANUAL = 0, /**< Zoom controlled normally by elm_photocam_zoom_set */
    ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT, /**< Zoom until photo fits in photocam */
    ELM_PHOTOCAM_ZOOM_MODE_AUTO_FILL, /**< Zoom until photo fills photocam */
-<<<<<<< HEAD
-   ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT_IN, /**< Unzoom until photo fits in photocam */
-=======
    ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT_IN, /**< Zoom in until photo fits in photocam */
->>>>>>> remotes/origin/upstream
    ELM_PHOTOCAM_ZOOM_MODE_LAST
 } Elm_Photocam_Zoom_Mode;
 
@@ -96,11 +92,7 @@ EAPI const char            *elm_photocam_file_get(const Evas_Object *obj);
  * This sets the zoom level. 1 will be 1:1 pixel for pixel. 2 will be 2:1
  * (that is 2x2 photo pixels will display as 1 on-screen pixel). 4:1 will be
  * 4x4 photo pixels as 1 screen pixel, and so on. The @p zoom parameter must
-<<<<<<< HEAD
- * be greater than 0. It is usggested to stick to powers of 2. (1, 2, 4, 8,
-=======
  * be greater than 0. It is suggested to stick to powers of 2. (1, 2, 4, 8,
->>>>>>> remotes/origin/upstream
  * 16, 32, etc.).
  */
 EAPI void                   elm_photocam_zoom_set(Evas_Object *obj, double zoom);
@@ -114,11 +106,7 @@ EAPI void                   elm_photocam_zoom_set(Evas_Object *obj, double zoom)
  * This returns the current zoom level of the photocam object. Note that if
  * you set the fill mode to other than ELM_PHOTOCAM_ZOOM_MODE_MANUAL
  * (which is the default), the zoom level may be changed at any time by the
-<<<<<<< HEAD
- * photocam object itself to account for photo size and photocam viewpoer
-=======
  * photocam object itself to account for photo size and photocam viewport
->>>>>>> remotes/origin/upstream
  * size.
  *
  * @see elm_photocam_zoom_set()
@@ -139,11 +127,7 @@ EAPI double                 elm_photocam_zoom_get(const Evas_Object *obj);
  * modes will allow the photocam object to automatically adjust zoom mode
  * based on properties. ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT) will adjust zoom so
  * the photo fits EXACTLY inside the scroll frame with no pixels outside this
-<<<<<<< HEAD
- * area. ELM_PHOTOCAM_ZOOM_MODE_AUTO_FILL will be similar but ensure no
-=======
  * region. ELM_PHOTOCAM_ZOOM_MODE_AUTO_FILL will be similar but ensure no
->>>>>>> remotes/origin/upstream
  * pixels within the frame are left unfilled.
  */
 EAPI void                   elm_photocam_zoom_mode_set(Evas_Object *obj, Elm_Photocam_Zoom_Mode mode);
@@ -174,11 +158,7 @@ EAPI Elm_Photocam_Zoom_Mode elm_photocam_zoom_mode_get(const Evas_Object *obj);
 EAPI void                   elm_photocam_image_size_get(const Evas_Object *obj, int *w, int *h);
 
 /**
-<<<<<<< HEAD
- * @brief Get the area of the image that is currently shown
-=======
  * @brief Get the region of the image that is currently shown
->>>>>>> remotes/origin/upstream
  *
  * @param obj
  * @param x A pointer to the X-coordinate of region
@@ -189,17 +169,10 @@ EAPI void                   elm_photocam_image_size_get(const Evas_Object *obj,
  * @see elm_photocam_image_region_show()
  * @see elm_photocam_image_region_bring_in()
  */
-<<<<<<< HEAD
-EAPI void                   elm_photocam_region_get(const Evas_Object *obj, int *x, int *y, int *w, int *h);
-
-/**
- * @brief Set the viewed portion of the image
-=======
 EAPI void                   elm_photocam_image_region_get(const Evas_Object *obj, int *x, int *y, int *w, int *h);
 
 /**
  * @brief Set the viewed region of the image
->>>>>>> remotes/origin/upstream
  *
  * @param obj The photocam object
  * @param x X-coordinate of region in image original pixels
@@ -232,11 +205,7 @@ EAPI void                   elm_photocam_image_region_bring_in(Evas_Object *obj,
  *
  * This sets the paused state to on(EINA_TRUE) or off (EINA_FALSE) for
  * photocam. The default is off. This will stop zooming using animation on
-<<<<<<< HEAD
- * zoom levels changes and change instantly. This will stop any existing
-=======
  * zoom level changes and change instantly. This will stop any existing
->>>>>>> remotes/origin/upstream
  * animations that are running.
  */
 EAPI void                   elm_photocam_paused_set(Evas_Object *obj, Eina_Bool paused);
@@ -269,13 +238,8 @@ EAPI Evas_Object           *elm_photocam_internal_image_get(const Evas_Object *o
  * @brief Set the photocam scrolling bouncing.
  *
  * @param obj The photocam object
-<<<<<<< HEAD
- * @param h_bounce bouncing for horizontal
- * @param v_bounce bouncing for vertical
-=======
  * @param h_bounce set this to @c EINA_TRUE for horizontal bouncing
  * @param v_bounce set this to @c EINA_TRUE for vertical bouncing
->>>>>>> remotes/origin/upstream
  */
 EAPI void                   elm_photocam_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
 
@@ -283,21 +247,14 @@ EAPI void                   elm_photocam_bounce_set(Evas_Object *obj, Eina_Bool
  * @brief Get the photocam scrolling bouncing.
  *
  * @param obj The photocam object
-<<<<<<< HEAD
- * @param h_bounce bouncing for horizontal
- * @param v_bounce bouncing for vertical
-=======
  * @param h_bounce horizontal bouncing
  * @param v_bounce vertical bouncing
->>>>>>> remotes/origin/upstream
  *
  * @see elm_photocam_bounce_set()
  */
 EAPI void                   elm_photocam_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce);
 
 /**
-<<<<<<< HEAD
-=======
  * @brief Set the gesture state for photocam.
  *
  * @param obj The photocam object
@@ -320,6 +277,5 @@ EAPI void               elm_photocam_gesture_enabled_set(Evas_Object *obj, Eina_Bool gest
  */
 EAPI Eina_Bool             elm_photocam_gesture_enabled_get(const Evas_Object *obj);
 /**
->>>>>>> remotes/origin/upstream
  * @}
  */
index eb2e9f7..6c1876c 100644 (file)
@@ -80,13 +80,10 @@ _els_smart_icon_file_helper(Evas_Object *obj)
 
    sd = evas_object_smart_data_get(obj);
    /* smart code here */
-<<<<<<< HEAD
    /* NOTE: Do not merge upstream for the if (sd->edje) { } statements
       But wonder whether the edje resource icons have no problem. */
    if (!sd->edje) goto out;
 
-=======
->>>>>>> remotes/origin/upstream
    if (sd->prev) evas_object_del(sd->prev);
    pclip = evas_object_clip_get(sd->obj);
    if (sd->obj) sd->prev = sd->obj;
@@ -100,10 +97,7 @@ _els_smart_icon_file_helper(Evas_Object *obj)
    evas_object_clip_set(sd->obj, pclip);
 
    sd->edje = EINA_FALSE;
-<<<<<<< HEAD
 out:
-=======
->>>>>>> remotes/origin/upstream
 
    if (!sd->size)
      evas_object_image_load_size_set(sd->obj, sd->size, sd->size);
@@ -136,17 +130,12 @@ Eina_Bool
 _els_smart_icon_file_key_set(Evas_Object *obj, const char *file, const char *key)
 {
    Smart_Data *sd;
-<<<<<<< HEAD
-=======
-   Evas_Coord w, h;
->>>>>>> remotes/origin/upstream
 
    sd = evas_object_smart_data_get(obj);
    if (!sd) return EINA_FALSE;
    _els_smart_icon_file_helper(obj);
 
    evas_object_image_file_set(sd->obj, file, key);
-<<<<<<< HEAD
    // NOTE: Do not merge upstream for sd->preloading.
    sd->preloading = EINA_FALSE; // by default preload off by seok.j.jeong
    sd->show = EINA_TRUE;
@@ -156,14 +145,6 @@ _els_smart_icon_file_key_set(Evas_Object *obj, const char *file, const char *key
    // NOTE: Do not merge upstream for sd->preloading.
    if (sd->preloading) // sd->preloading can be changed by above function. so add "if (sd->preloading)" as below
      evas_object_hide(sd->obj);
-=======
-   sd->preloading = EINA_TRUE;
-   sd->show = EINA_TRUE;
-   evas_object_hide(sd->obj);
-   _els_smart_icon_size_get(obj, &w, &h);
-   evas_object_image_load_size_set(sd->obj, w, h);
-   evas_object_image_preload(sd->obj, EINA_FALSE);
->>>>>>> remotes/origin/upstream
    if (evas_object_image_load_error_get(sd->obj) != EVAS_LOAD_ERROR_NONE)
      {
         ERR("Things are going bad for '%s' (%p)", file, sd->obj);
@@ -398,11 +379,7 @@ _els_smart_icon_orient_set(Evas_Object *obj, Elm_Image_Orient orient)
       case ELM_IMAGE_FLIP_VERTICAL:
          _els_smart_icon_flip_vertical(sd);
          return;
-<<<<<<< HEAD
-      case ELM_IMAGE_ROTATE_180_CW:
-=======
       case ELM_IMAGE_ROTATE_180:
->>>>>>> remotes/origin/upstream
          _els_smart_icon_rotate_180(sd);
          return;
       default:
@@ -433,19 +410,11 @@ _els_smart_icon_orient_set(Evas_Object *obj, Elm_Image_Orient orient)
          w = -w;
          hw = hw - 1;
          break;
-<<<<<<< HEAD
-      case ELM_IMAGE_ROTATE_90_CW:
-         to = data + w - 1;
-         hw = -hw - 1;
-         break;
-      case ELM_IMAGE_ROTATE_90_CCW:
-=======
       case ELM_IMAGE_ROTATE_90:
          to = data + w - 1;
          hw = -hw - 1;
          break;
       case ELM_IMAGE_ROTATE_270:
->>>>>>> remotes/origin/upstream
          to = data + hw - w;
          w = -w;
          hw = hw + 1;