Add Auto value to Position

This commit is contained in:
Julien Danjou 2008-03-14 17:18:48 +01:00
parent f29b0660fa
commit 54c2170178
2 changed files with 4 additions and 1 deletions

View file

@ -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;
} }

View file

@ -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 */