Rename ui screen policy full -> fill

This commit is contained in:
Nikita Lisitsa 2021-02-27 11:00:26 +03:00
parent 93a28062b9
commit e5f52e1297
2 changed files with 4 additions and 4 deletions

View file

@ -15,7 +15,7 @@ namespace psemek::ui
left,
center,
right,
full,
fill,
floating,
};
@ -24,7 +24,7 @@ namespace psemek::ui
top,
center,
bottom,
full,
fill,
floating,
};

View file

@ -64,7 +64,7 @@ namespace psemek::ui
case x_policy::right:
cbox[0] = {bbox[0].max - size[0], bbox[0].max};
break;
case x_policy::full:
case x_policy::fill:
cbox[0] = bbox[0];
break;
case x_policy::floating:
@ -88,7 +88,7 @@ namespace psemek::ui
case y_policy::bottom:
cbox[1] = {bbox[1].max - size[1], bbox[1].max};
break;
case y_policy::full:
case y_policy::fill:
cbox[1] = bbox[1];
break;
case y_policy::floating: