forked from enlightenment/efl
parent
bb4e5a8f8a
commit
73d8529ad6
|
@ -131,10 +131,11 @@ test_anchorblock(void *data, Evas_Object *obj, void *event_info)
|
|||
evas_object_size_hint_align_set(bx, EVAS_HINT_FILL, EVAS_HINT_FILL);
|
||||
|
||||
ic = elm_icon_add(win);
|
||||
printf("IC1: %p\n", ic);
|
||||
snprintf(buf, sizeof(buf), "%s/images/logo_small.png", PACKAGE_DATA_DIR);
|
||||
elm_icon_file_set(ic, buf, NULL);
|
||||
elm_icon_scale_set(ic, 0, 0);
|
||||
evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1);
|
||||
evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_HORIZONTAL, 1, 1);
|
||||
|
||||
bb = elm_bubble_add(win);
|
||||
elm_bubble_label_set(bb, "Message 3");
|
||||
|
@ -158,6 +159,7 @@ test_anchorblock(void *data, Evas_Object *obj, void *event_info)
|
|||
evas_object_show(bb);
|
||||
|
||||
ic = elm_icon_add(win);
|
||||
printf("IC2: %p\n", ic);
|
||||
snprintf(buf, sizeof(buf), "%s/images/logo_small.png", PACKAGE_DATA_DIR);
|
||||
elm_icon_file_set(ic, buf, NULL);
|
||||
evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1);
|
||||
|
@ -193,10 +195,11 @@ test_anchorblock(void *data, Evas_Object *obj, void *event_info)
|
|||
evas_object_show(bb);
|
||||
|
||||
ic = elm_icon_add(win);
|
||||
printf("IC3: %p\n", ic);
|
||||
snprintf(buf, sizeof(buf), "%s/images/logo_small.png", PACKAGE_DATA_DIR);
|
||||
elm_icon_file_set(ic, buf, NULL);
|
||||
elm_icon_scale_set(ic, 0, 0);
|
||||
evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1);
|
||||
evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_HORIZONTAL, 1, 1);
|
||||
|
||||
bb = elm_bubble_add(win);
|
||||
elm_bubble_label_set(bb, "Message 1");
|
||||
|
|
Loading…
Reference in New Issue