Add Auto value to Position
This commit is contained in:
parent
f29b0660fa
commit
54c2170178
|
@ -107,6 +107,8 @@ position_get_from_str(const char *pos)
|
||||||
return Right;
|
return Right;
|
||||||
else if(!a_strncmp(pos, "left", 4))
|
else if(!a_strncmp(pos, "left", 4))
|
||||||
return Left;
|
return Left;
|
||||||
|
else if(!a_strncmp(pos, "auto", 4))
|
||||||
|
return Auto;
|
||||||
return Off;
|
return Off;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,8 @@ typedef enum
|
||||||
Top,
|
Top,
|
||||||
Bottom,
|
Bottom,
|
||||||
Right,
|
Right,
|
||||||
Left
|
Left,
|
||||||
|
Auto
|
||||||
} Position;
|
} Position;
|
||||||
|
|
||||||
/** Link a name to a function */
|
/** Link a name to a function */
|
||||||
|
|
Loading…
Reference in New Issue