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;
|
||||
else if(!a_strncmp(pos, "left", 4))
|
||||
return Left;
|
||||
else if(!a_strncmp(pos, "auto", 4))
|
||||
return Auto;
|
||||
return Off;
|
||||
}
|
||||
|
||||
|
|
|
@ -33,7 +33,8 @@ typedef enum
|
|||
Top,
|
||||
Bottom,
|
||||
Right,
|
||||
Left
|
||||
Left,
|
||||
Auto
|
||||
} Position;
|
||||
|
||||
/** Link a name to a function */
|
||||
|
|
Loading…
Reference in New Issue