summaryrefslogtreecommitdiff
path: root/src/bin/elementary/test_ui_panel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/elementary/test_ui_panel.c')
-rw-r--r--src/bin/elementary/test_ui_panel.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/bin/elementary/test_ui_panel.c b/src/bin/elementary/test_ui_panel.c
index 40ca680..a9c3caf 100644
--- a/src/bin/elementary/test_ui_panel.c
+++ b/src/bin/elementary/test_ui_panel.c
@@ -1,6 +1,7 @@
1#ifdef HAVE_CONFIG_H 1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h" 2# include "elementary_config.h"
3#endif 3#endif
4#include <Efl_Ui.h>
4#include <Elementary.h> 5#include <Elementary.h>
5 6
6void 7void
@@ -10,7 +11,7 @@ test_ui_panel(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
10 Eo *win, *table, *panel; 11 Eo *win, *table, *panel;
11 12
12 win = efl_add_ref(EFL_UI_WIN_CLASS, NULL, 13 win = efl_add_ref(EFL_UI_WIN_CLASS, NULL,
13 efl_ui_win_type_set(efl_added, EFL_UI_WIN_BASIC), 14 efl_ui_win_type_set(efl_added, EFL_UI_WIN_TYPE_BASIC),
14 efl_text_set(efl_added, "Efl.Ui.Panel"), 15 efl_text_set(efl_added, "Efl.Ui.Panel"),
15 efl_ui_win_autodel_set(efl_added, EINA_TRUE)); 16 efl_ui_win_autodel_set(efl_added, EINA_TRUE));
16 17
@@ -19,7 +20,7 @@ test_ui_panel(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
19 20
20 snprintf(buf, sizeof(buf), "%s/images/plant_01.jpg", elm_app_data_dir_get()); 21 snprintf(buf, sizeof(buf), "%s/images/plant_01.jpg", elm_app_data_dir_get());
21 efl_add(EFL_UI_IMAGE_CLASS, table, 22 efl_add(EFL_UI_IMAGE_CLASS, table,
22 efl_file_set(efl_added, buf, NULL), 23 efl_file_set(efl_added, buf),
23 efl_gfx_hint_weight_set(efl_added, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND), 24 efl_gfx_hint_weight_set(efl_added, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND),
24 efl_gfx_hint_align_set(efl_added, EVAS_HINT_FILL, EVAS_HINT_FILL), 25 efl_gfx_hint_align_set(efl_added, EVAS_HINT_FILL, EVAS_HINT_FILL),
25 efl_pack_table(table, efl_added, 0, 0, 4, 5)); 26 efl_pack_table(table, efl_added, 0, 0, 4, 5));
@@ -103,7 +104,7 @@ test_ui_panel2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event
103 Eo *win, *box, *check, *btn, *table, *list, *panel; 104 Eo *win, *box, *check, *btn, *table, *list, *panel;
104 105
105 win = efl_add_ref(EFL_UI_WIN_CLASS, NULL, 106 win = efl_add_ref(EFL_UI_WIN_CLASS, NULL,
106 efl_ui_win_type_set(efl_added, EFL_UI_WIN_BASIC), 107 efl_ui_win_type_set(efl_added, EFL_UI_WIN_TYPE_BASIC),
107 efl_text_set(efl_added, "Efl.Ui.Panel"), 108 efl_text_set(efl_added, "Efl.Ui.Panel"),
108 efl_ui_win_autodel_set(efl_added, EINA_TRUE)); 109 efl_ui_win_autodel_set(efl_added, EINA_TRUE));
109 110