summaryrefslogtreecommitdiff
path: root/src/lib/edje/edje_calc.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-02-21 18:19:45 +0100
committerXavi Artigas <xavierartigas@yahoo.es>2019-02-21 18:43:12 +0100
commitf886941b112573664598808ab0493e83126ea2bb (patch)
tree80e9b2f2114101f180207bac4c5c218b0425e10a /src/lib/edje/edje_calc.c
parent94efabedf6475a665352ff30f4b869c5a310eb40 (diff)
api: efl.gfx.size_hints -> efl.gfx.hints
Summary: these hints are not strictly size-related, so renaming them is more consistent with their actual function ref T7563 Depends on D7968 Reviewers: segfaultxavi, cedric, bu5hm4n Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7563 Differential Revision: https://phab.enlightenment.org/D7977
Diffstat (limited to '')
-rw-r--r--src/lib/edje/edje_calc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/edje/edje_calc.c b/src/lib/edje/edje_calc.c
index f09265f37b..1857990f42 100644
--- a/src/lib/edje/edje_calc.c
+++ b/src/lib/edje/edje_calc.c
@@ -1,4 +1,4 @@
1#define EFL_GFX_SIZE_HINT_PROTECTED 1#define EFL_GFX_HINT_PROTECTED
2 2
3#include "edje_private.h" 3#include "edje_private.h"
4 4
@@ -1004,7 +1004,7 @@ _edje_recalc_do(Edje *ed)
1004 ed->recalc_hints = EINA_FALSE; 1004 ed->recalc_hints = EINA_FALSE;
1005 1005
1006 edje_object_size_min_calc(ed->obj, &min.w, &min.h); 1006 edje_object_size_min_calc(ed->obj, &min.w, &min.h);
1007 efl_gfx_size_hint_restricted_min_set(ed->obj, min); 1007 efl_gfx_hint_size_restricted_min_set(ed->obj, min);
1008 } 1008 }
1009 1009
1010 if (!ed->collection) return; 1010 if (!ed->collection) return;
@@ -2906,7 +2906,7 @@ _edje_part_recalc_single(Edje *ed,
2906 2906
2907 efl_canvas_group_need_recalculate_set(ep->object, 1); 2907 efl_canvas_group_need_recalculate_set(ep->object, 1);
2908 efl_canvas_group_calculate(ep->object); 2908 efl_canvas_group_calculate(ep->object);
2909 lmin = efl_gfx_size_hint_restricted_min_get(ep->object); 2909 lmin = efl_gfx_hint_size_restricted_min_get(ep->object);
2910 if (((Edje_Part_Description_Table *)chosen_desc)->table.min.h) 2910 if (((Edje_Part_Description_Table *)chosen_desc)->table.min.h)
2911 { 2911 {
2912 if (lmin.w > minw) minw = lmin.w; 2912 if (lmin.w > minw) minw = lmin.w;
@@ -2924,7 +2924,7 @@ _edje_part_recalc_single(Edje *ed,
2924 2924
2925 efl_canvas_group_need_recalculate_set(ep->object, 1); 2925 efl_canvas_group_need_recalculate_set(ep->object, 1);
2926 efl_canvas_group_calculate(ep->object); 2926 efl_canvas_group_calculate(ep->object);
2927 lmin = efl_gfx_size_hint_restricted_min_get(ep->object); 2927 lmin = efl_gfx_hint_size_restricted_min_get(ep->object);
2928 if (((Edje_Part_Description_Box *)chosen_desc)->box.min.h) 2928 if (((Edje_Part_Description_Box *)chosen_desc)->box.min.h)
2929 { 2929 {
2930 if (lmin.w > minw) minw = lmin.w; 2930 if (lmin.w > minw) minw = lmin.w;