summaryrefslogtreecommitdiff
path: root/tutorial/c/hello-gui/src/gui_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'tutorial/c/hello-gui/src/gui_main.c')
-rw-r--r--tutorial/c/hello-gui/src/gui_main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tutorial/c/hello-gui/src/gui_main.c b/tutorial/c/hello-gui/src/gui_main.c
index bb38b3e..db03a6a 100644
--- a/tutorial/c/hello-gui/src/gui_main.c
+++ b/tutorial/c/hello-gui/src/gui_main.c
@@ -26,18 +26,18 @@ _gui_setup()
26 26
27 box = efl_add(EFL_UI_BOX_CLASS, win, 27 box = efl_add(EFL_UI_BOX_CLASS, win,
28 efl_content_set(win, efl_added), 28 efl_content_set(win, efl_added),
29 efl_gfx_size_hint_min_set(efl_added, EINA_SIZE2D(360, 240))); 29 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(360, 240)));
30 30
31 efl_add(EFL_UI_TEXT_CLASS, box, 31 efl_add(EFL_UI_TEXT_CLASS, box,
32 efl_text_markup_set(efl_added, "Hello World.<br>This is an <b>Efl.Ui</b> application!"), 32 efl_text_markup_set(efl_added, "Hello World.<br>This is an <b>Efl.Ui</b> application!"),
33 efl_text_interactive_selection_allowed_set(efl_added, EINA_FALSE), 33 efl_text_interactive_selection_allowed_set(efl_added, EINA_FALSE),
34 efl_gfx_size_hint_weight_set(efl_added, 1.0, 0.9), 34 efl_gfx_hint_weight_set(efl_added, 1.0, 0.9),
35 efl_gfx_size_hint_align_set(efl_added, 0.5, 0.5), 35 efl_gfx_hint_align_set(efl_added, 0.5, 0.5),
36 efl_pack(box, efl_added)); 36 efl_pack(box, efl_added));
37 37
38 efl_add(EFL_UI_BUTTON_CLASS, box, 38 efl_add(EFL_UI_BUTTON_CLASS, box,
39 efl_text_set(efl_added, "Quit"), 39 efl_text_set(efl_added, "Quit"),
40 efl_gfx_size_hint_weight_set(efl_added, 1.0, 0.1), 40 efl_gfx_hint_weight_set(efl_added, 1.0, 0.1),
41 efl_pack(box, efl_added), 41 efl_pack(box, efl_added),
42 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, 42 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED,
43 _gui_quit_cb, efl_added)); 43 _gui_quit_cb, efl_added));