forked from enlightenment/enlightenment
add E_GADCON_ORIENT_LAST for iterating
SVN revision: 76307
This commit is contained in:
parent
10a6ce56f6
commit
787017ca11
|
@ -11,7 +11,7 @@ typedef enum _E_Gadcon_Layout_Policy
|
||||||
typedef enum _E_Gadcon_Orient
|
typedef enum _E_Gadcon_Orient
|
||||||
{
|
{
|
||||||
/* generic orientations */
|
/* generic orientations */
|
||||||
E_GADCON_ORIENT_FLOAT,
|
E_GADCON_ORIENT_FLOAT = 0,
|
||||||
E_GADCON_ORIENT_HORIZ,
|
E_GADCON_ORIENT_HORIZ,
|
||||||
E_GADCON_ORIENT_VERT,
|
E_GADCON_ORIENT_VERT,
|
||||||
E_GADCON_ORIENT_LEFT,
|
E_GADCON_ORIENT_LEFT,
|
||||||
|
@ -25,7 +25,8 @@ typedef enum _E_Gadcon_Orient
|
||||||
E_GADCON_ORIENT_CORNER_LT,
|
E_GADCON_ORIENT_CORNER_LT,
|
||||||
E_GADCON_ORIENT_CORNER_RT,
|
E_GADCON_ORIENT_CORNER_RT,
|
||||||
E_GADCON_ORIENT_CORNER_LB,
|
E_GADCON_ORIENT_CORNER_LB,
|
||||||
E_GADCON_ORIENT_CORNER_RB
|
E_GADCON_ORIENT_CORNER_RB,
|
||||||
|
E_GADCON_ORIENT_LAST
|
||||||
} E_Gadcon_Orient;
|
} E_Gadcon_Orient;
|
||||||
|
|
||||||
typedef enum _E_Gadcon_Site
|
typedef enum _E_Gadcon_Site
|
||||||
|
|
|
@ -1311,6 +1311,8 @@ _e_zone_useful_geometry_calc(E_Zone *zone)
|
||||||
if (x1 > zone->w - shelf->w)
|
if (x1 > zone->w - shelf->w)
|
||||||
x1 = zone->w - shelf->w;
|
x1 = zone->w - shelf->w;
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue