aboutsummaryrefslogtreecommitdiffstats
path: root/reference
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-03-02 10:38:07 -0500
committerMike Blumenkrantz <zmike@samsung.com>2019-03-02 10:38:07 -0500
commitd16b7e48bc8a4a8d9cfc3cac2ab574a0c374f401 (patch)
treed9fd47a424e6318e018066dab49a94f64bb9438f /reference
parentexamples: Changes after optional parameters (diff)
downloadexamples-d16b7e48bc8a4a8d9cfc3cac2ab574a0c374f401.tar.gz
fix examples build for latest efl
Diffstat (limited to 'reference')
-rw-r--r--reference/c/ui/src/focus_main.c6
-rw-r--r--reference/c/ui/src/ui_container.c4
-rw-r--r--reference/c/ui/src/ui_sizing.c4
-rw-r--r--reference/c/ui/src/ui_translation.c2
4 files changed, 8 insertions, 8 deletions
diff --git a/reference/c/ui/src/focus_main.c b/reference/c/ui/src/focus_main.c
index 9eaf79c6..676add73 100644
--- a/reference/c/ui/src/focus_main.c
+++ b/reference/c/ui/src/focus_main.c
@@ -40,7 +40,7 @@ _gui_setup()
box = efl_add(EFL_UI_BOX_CLASS, win,
efl_content_set(win, efl_added),
- efl_gfx_size_hint_min_set(efl_added, EINA_SIZE2D(360, 240)));
+ efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(360, 240)));
efl_add(EFL_UI_TEXT_CLASS, box,
efl_text_set(efl_added, "Label"),
@@ -51,7 +51,7 @@ _gui_setup()
hbox = efl_add(EFL_UI_BOX_CLASS, box,
efl_ui_direction_set(efl_added, EFL_UI_DIR_HORIZONTAL),
- efl_gfx_size_hint_weight_set(efl_added, 1.0, 0.1),
+ efl_gfx_hint_weight_set(efl_added, 1.0, 0.1),
efl_pack(box, efl_added));
about = efl_add(EFL_UI_BUTTON_CLASS, hbox,
@@ -70,7 +70,7 @@ _gui_setup()
efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED,
_gui_quit_clicked_cb, efl_added));
- efl_ui_focus_util_focus(EFL_UI_FOCUS_UTIL_CLASS, about);
+ efl_ui_focus_util_focus(about);
}
EAPI_MAIN void
diff --git a/reference/c/ui/src/ui_container.c b/reference/c/ui/src/ui_container.c
index 21156579..3775b5f2 100644
--- a/reference/c/ui/src/ui_container.c
+++ b/reference/c/ui/src/ui_container.c
@@ -71,7 +71,7 @@ _ui_boxes_setup(Efl_Ui_Win *win)
efl_pack(box, efl_added));
if (i == 2)
- efl_gfx_size_hint_max_set(button, EINA_SIZE2D(100, 50));
+ efl_gfx_hint_size_max_set(button, EINA_SIZE2D(100, 50));
}
return box;
@@ -96,7 +96,7 @@ _ui_panes_setup(Efl_Ui_Win *win)
efl_add(EFL_UI_BUTTON_CLASS, win,
efl_text_set(efl_added, "Quit"),
- efl_gfx_size_hint_max_set(efl_added, EINA_SIZE2D(150, 30)),
+ efl_gfx_hint_size_max_set(efl_added, EINA_SIZE2D(150, 30)),
efl_content_set(efl_part(horiz_split, "second"), efl_added),
efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED,
_gui_quit_cb, efl_added));
diff --git a/reference/c/ui/src/ui_sizing.c b/reference/c/ui/src/ui_sizing.c
index f2b8a769..80e50b51 100644
--- a/reference/c/ui/src/ui_sizing.c
+++ b/reference/c/ui/src/ui_sizing.c
@@ -45,12 +45,12 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
efl_add(EFL_UI_BUTTON_CLASS, win,
efl_text_set(efl_added, "Small"),
efl_pack_end(box, efl_added),
- efl_gfx_size_hint_max_set(efl_added, EINA_SIZE2D(50, 50)));
+ efl_gfx_hint_size_max_set(efl_added, EINA_SIZE2D(50, 50)));
efl_add(EFL_UI_BUTTON_CLASS, win,
efl_text_set(efl_added, "Big Button"),
efl_pack_end(box, efl_added),
- efl_gfx_size_hint_min_set(efl_added, EINA_SIZE2D(100, 100)));
+ efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(100, 100)));
efl_gfx_entity_size_set(win, EINA_SIZE2D(320, 320));
}
diff --git a/reference/c/ui/src/ui_translation.c b/reference/c/ui/src/ui_translation.c
index 02ba9a1a..91cafc06 100644
--- a/reference/c/ui/src/ui_translation.c
+++ b/reference/c/ui/src/ui_translation.c
@@ -55,7 +55,7 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
efl_add(EFL_UI_BUTTON_CLASS, win,
efl_ui_l10n_text_set(efl_added, "Quit", _TEXT_DOMAIN),
efl_pack_end(box, efl_added),
- efl_gfx_size_hint_min_set(efl_added, EINA_SIZE2D(100, 100)),
+ efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(100, 100)),
efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED,
_gui_quit_cb, efl_added));