forked from enlightenment/efl
els_box: Used Eina_Bool instead of int for the parameters of _els_box_layout
This commit is contained in:
parent
14d53feca0
commit
6a8f33b298
|
@ -65,7 +65,7 @@ _box_custom_layout(Evas_Object *o,
|
||||||
{
|
{
|
||||||
Elm_Index_Smart_Data *sd = data;
|
Elm_Index_Smart_Data *sd = data;
|
||||||
|
|
||||||
_els_box_layout(o, priv, sd->horizontal, 1, 0);
|
_els_box_layout(o, priv, sd->horizontal, EINA_TRUE, EINA_FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
#include "els_box.h"
|
#include "els_box.h"
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_smart_extents_calculate(Evas_Object *box, Evas_Object_Box_Data *priv, int horizontal, int homogeneous)
|
_smart_extents_calculate(Evas_Object *box, Evas_Object_Box_Data *priv, Eina_Bool horizontal, Eina_Bool homogeneous)
|
||||||
{
|
{
|
||||||
Evas_Coord minw, minh, mnw, mnh, maxw, maxh;
|
Evas_Coord minw, minh, mnw, mnh, maxw, maxh;
|
||||||
const Eina_List *l;
|
const Eina_List *l;
|
||||||
|
@ -119,7 +119,7 @@ _smart_extents_calculate(Evas_Object *box, Evas_Object_Box_Data *priv, int horiz
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
_els_box_layout(Evas_Object *o, Evas_Object_Box_Data *priv, int horizontal, int homogeneous, int rtl)
|
_els_box_layout(Evas_Object *o, Evas_Object_Box_Data *priv, Eina_Bool horizontal, Eina_Bool homogeneous, Eina_Bool rtl)
|
||||||
{
|
{
|
||||||
Evas_Coord x, y, w, h, xx, yy;
|
Evas_Coord x, y, w, h, xx, yy;
|
||||||
const Eina_List *l;
|
const Eina_List *l;
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
void _els_box_layout(Evas_Object *o, Evas_Object_Box_Data *priv, int horizontal, int homogeneous, int rtl);
|
void _els_box_layout(Evas_Object *o, Evas_Object_Box_Data *priv, Eina_Bool horizontal, Eina_Bool homogeneous, Eina_Bool rtl);
|
||||||
|
|
Loading…
Reference in New Issue