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, left,
center, center,
right, right,
full, fill,
floating, floating,
}; };
@ -24,7 +24,7 @@ namespace psemek::ui
top, top,
center, center,
bottom, bottom,
full, fill,
floating, floating,
}; };

View file

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