efl: Use Eina.Size2D for size hint combined min
For this patch I decided to add a pseudo legacy wrapper as the function is called in a very large number of places. Fixing all those calls to use the size2d form is a lot of work and a greater risk of b0rking something.
This commit is contained in:
parent
b331ec013e
commit
25cd37fdca
|
@ -112,15 +112,16 @@ static void
|
|||
_print_rect_stats(Evas_Object *rect)
|
||||
{
|
||||
Evas_Coord w, h, l, r, t, b;
|
||||
Eina_Size2D cmin;
|
||||
double x, y;
|
||||
|
||||
evas_object_size_hint_align_get(rect, &x, &y);
|
||||
printf("\talign hints: h(%f), v(%f)\n",
|
||||
x, y);
|
||||
|
||||
efl_gfx_size_hint_combined_min_get(rect, &w, &h);
|
||||
cmin = efl_gfx_size_hint_combined_min_get(rect);
|
||||
printf("\tmin. size hints: h(%d), v(%d)\n",
|
||||
w, h);
|
||||
cmin.w, cmin.h);
|
||||
|
||||
evas_object_size_hint_max_get(rect, &w, &h);
|
||||
printf("\tmax. size hints: h(%d), v(%d)\n",
|
||||
|
|
Loading…
Reference in New Issue