mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-17 06:48:33 +00:00
FS-7515: overlay refactor add zidx and abs position
This commit is contained in:
1 parent
d8e5334a05
commit
f6886b05d1
2 files changed
+137
-52
No files matched your search
@@ -49,17 +49,18 @@ static struct pos_el POS_TABLE[] = {
|
||||
{POS_RIGHT_TOP, "right-top"},
|
||||
{POS_RIGHT_MID, "right-mid"},
|
||||
{POS_RIGHT_BOT, "right-bot"},
|
||||
{POS_NONE, "none"},
|
||||
{POS_NONE, NULL}
|
||||
};
|
||||
|
||||
|
||||
SWITCH_DECLARE(switch_img_position_t) parse_img_position(const char *name)
|
||||
{
|
||||
switch_img_position_t r = POS_LEFT_TOP;
|
||||
switch_img_position_t r = POS_NONE;
|
||||
int i;
|
||||
|
||||
switch_assert(name);
|
||||
|
||||
|
||||
for(i = 0; POS_TABLE[i].name; i++) {
|
||||
if (!strcasecmp(POS_TABLE[i].name, name)) {
|
||||
r = POS_TABLE[i].pos;
|
||||
|
||||
Reference in new issue
Block a user