From e5f52e129700c831560432e92b3535058798a418 Mon Sep 17 00:00:00 2001 From: lisyarus Date: Sat, 27 Feb 2021 11:00:26 +0300 Subject: [PATCH] Rename ui screen policy full -> fill --- libs/ui/include/psemek/ui/screen.hpp | 4 ++-- libs/ui/source/screen.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/ui/include/psemek/ui/screen.hpp b/libs/ui/include/psemek/ui/screen.hpp index 592b53ce..15691f8e 100644 --- a/libs/ui/include/psemek/ui/screen.hpp +++ b/libs/ui/include/psemek/ui/screen.hpp @@ -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, }; diff --git a/libs/ui/source/screen.cpp b/libs/ui/source/screen.cpp index 1a6e6c09..53a58f44 100644 --- a/libs/ui/source/screen.cpp +++ b/libs/ui/source/screen.cpp @@ -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: