From 492f36f7dfe9a6c9b31989e9c0571b30c481c8ce Mon Sep 17 00:00:00 2001 From: Marcus Kellerman Date: Sun, 26 Feb 2023 15:12:14 -0800 Subject: Added center orientation to master layout (#1642) * Added center orientation to master layout to improve experience on ultra widescreen monitors. * Added support for orientationcenter layout message for master layout * Added ability to optionally always center master window when in centered master mode. --- src/layout/MasterLayout.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/layout/MasterLayout.hpp') diff --git a/src/layout/MasterLayout.hpp b/src/layout/MasterLayout.hpp index 2e2746d3..315b82a2 100644 --- a/src/layout/MasterLayout.hpp +++ b/src/layout/MasterLayout.hpp @@ -14,7 +14,8 @@ enum eOrientation : uint8_t ORIENTATION_LEFT = 0, ORIENTATION_TOP, ORIENTATION_RIGHT, - ORIENTATION_BOTTOM + ORIENTATION_BOTTOM, + ORIENTATION_CENTER }; struct SMasterNodeData { -- cgit v1.2.3