forked from enlightenment/efl
parent
1be2a606bf
commit
6aca536a54
|
@ -60,9 +60,7 @@ test_cnp(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __
|
|||
elm_entry_line_wrap_set(en, ELM_WRAP_CHAR);
|
||||
evas_object_size_hint_weight_set(en, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
|
||||
evas_object_size_hint_align_set(en, EVAS_HINT_FILL, EVAS_HINT_FILL);
|
||||
elm_object_text_set(en,
|
||||
"Elementary provides "
|
||||
);
|
||||
elm_object_text_set(en, "Elementary provides ");
|
||||
elm_grid_pack(gd, en, 10, 10, 60, 30);
|
||||
evas_object_show(en);
|
||||
|
||||
|
@ -83,9 +81,7 @@ test_cnp(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __
|
|||
elm_entry_line_wrap_set(en, ELM_WRAP_CHAR);
|
||||
evas_object_size_hint_weight_set(en, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
|
||||
evas_object_size_hint_align_set(en, EVAS_HINT_FILL, EVAS_HINT_FILL);
|
||||
elm_object_text_set(en,
|
||||
"rich copying and pasting functionality,"
|
||||
);
|
||||
elm_object_text_set(en, "rich copying and pasting functionality,");
|
||||
elm_grid_pack(gd, en, 10, 40, 60, 30);
|
||||
evas_object_show(en);
|
||||
|
||||
|
|
|
@ -39,7 +39,6 @@ _custom_op(Elm_Transit_Effect *effect, Elm_Transit *transit, double progress)
|
|||
|
||||
EINA_LIST_FOREACH(objs, elist, obj)
|
||||
evas_object_resize(obj, w, h);
|
||||
|
||||
}
|
||||
|
||||
static Elm_Transit_Effect *
|
||||
|
@ -610,6 +609,4 @@ test_transit9(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
|
|||
evas_object_resize(win, 400, 400);
|
||||
evas_object_show(win);
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
@ -63,9 +63,9 @@ fill(Evas_Object *win, Eina_Bool do_bg)
|
|||
elm_anchorblock_hover_style_set(av, "popout");
|
||||
elm_anchorblock_hover_parent_set(av, win);
|
||||
elm_object_text_set(av,
|
||||
"Hi there. This is the most recent message in the "
|
||||
"list of messages. It has one <a href=tel:+614321234>+61 432 1234</a> "
|
||||
"(phone number) to click on.");
|
||||
"Hi there. This is the most recent message in the "
|
||||
"list of messages. It has one <a href=tel:+614321234>+61 432 1234</a> "
|
||||
"(phone number) to click on.");
|
||||
elm_object_content_set(bb, av);
|
||||
evas_object_show(av);
|
||||
elm_box_pack_end(bx, bb);
|
||||
|
@ -87,19 +87,19 @@ fill(Evas_Object *win, Eina_Bool do_bg)
|
|||
elm_anchorblock_hover_style_set(av, "popout");
|
||||
elm_anchorblock_hover_parent_set(av, win);
|
||||
elm_object_text_set(av,
|
||||
"Hey what are you doing? This is the second last message "
|
||||
"Hi there. This is the most recent message in the "
|
||||
"list. It's a longer one so it can wrap more and "
|
||||
"contains a <a href=contact:john>John</a> contact "
|
||||
"link in it to test popups on links. The idea is that "
|
||||
"all SMS's are scanned for things that look like phone "
|
||||
"numbers or names that are in your contacts list, and "
|
||||
"if they are, they become clickable links that pop up "
|
||||
"a menus of obvious actions to perform on this piece "
|
||||
"of information. This of course can be later explicitly "
|
||||
"done by links maybe running local apps or even being "
|
||||
"web URL's too that launch the web browser and point it "
|
||||
"to that URL. <item relsize=16x16 vsize=full href=emoticon/omg></item>");
|
||||
"Hey what are you doing? This is the second last message "
|
||||
"Hi there. This is the most recent message in the "
|
||||
"list. It's a longer one so it can wrap more and "
|
||||
"contains a <a href=contact:john>John</a> contact "
|
||||
"link in it to test popups on links. The idea is that "
|
||||
"all SMS's are scanned for things that look like phone "
|
||||
"numbers or names that are in your contacts list, and "
|
||||
"if they are, they become clickable links that pop up "
|
||||
"a menus of obvious actions to perform on this piece "
|
||||
"of information. This of course can be later explicitly "
|
||||
"done by links maybe running local apps or even being "
|
||||
"web URL's too that launch the web browser and point it "
|
||||
"to that URL. <item relsize=16x16 vsize=full href=emoticon/omg></item>");
|
||||
elm_object_content_set(bb, av);
|
||||
evas_object_show(av);
|
||||
elm_box_pack_end(bx, bb);
|
||||
|
|
|
@ -89,14 +89,12 @@ test_win_plug(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
|
|||
evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
|
||||
evas_object_show(bg);
|
||||
|
||||
|
||||
plug = elm_plug_add(win);
|
||||
if (!elm_plug_connect(plug, "ello", 0, EINA_FALSE))
|
||||
{
|
||||
printf("Cannot connect plug\n");
|
||||
return;
|
||||
}
|
||||
|
||||
{
|
||||
printf("Cannot connect plug\n");
|
||||
return;
|
||||
}
|
||||
|
||||
evas_object_resize(plug, 380, 500);
|
||||
evas_object_move(plug, 10, 10);
|
||||
|
|
|
@ -181,8 +181,6 @@ test_win_socket(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_
|
|||
elm_box_pack_end(bx, lb);
|
||||
evas_object_show(lb);
|
||||
|
||||
|
||||
|
||||
evas_object_resize(win, 320, 300);
|
||||
|
||||
evas_object_show(bx);
|
||||
|
@ -193,12 +191,12 @@ test_win_socket(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_
|
|||
win_socket = elm_win_add(NULL, "Window Socket", ELM_WIN_SOCKET_IMAGE);
|
||||
|
||||
if (!elm_win_socket_listen(win_socket, "ello", 0, EINA_FALSE))
|
||||
{
|
||||
printf("Fail to elm win socket listen \n");
|
||||
evas_object_del(win_socket);
|
||||
evas_object_del(win);
|
||||
return;
|
||||
}
|
||||
{
|
||||
printf("Fail to elm win socket listen \n");
|
||||
evas_object_del(win_socket);
|
||||
evas_object_del(win);
|
||||
return;
|
||||
}
|
||||
elm_win_title_set(win_socket, "Window Socket");
|
||||
elm_win_autodel_set(win_socket, EINA_TRUE);
|
||||
|
||||
|
@ -208,6 +206,6 @@ test_win_socket(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_
|
|||
evas_object_show(win_socket);
|
||||
|
||||
evas_object_event_callback_add(win, EVAS_CALLBACK_DEL, _win_del,
|
||||
win_socket);
|
||||
win_socket);
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue