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;
else if(!a_strncmp(pos, "left", 4))
return Left;
else if(!a_strncmp(pos, "auto", 4))
return Auto;
return Off;
}

View File

@ -33,7 +33,8 @@ typedef enum
Top,
Bottom,
Right,
Left
Left,
Auto
} Position;
/** Link a name to a function */