summaryrefslogtreecommitdiff
path: root/src/helpers/Monitor.hpp
diff options
context:
space:
mode:
authorjmanc3 <jman12316@live.com>2025-12-14 13:42:02 -0600
committerGitHub <noreply@github.com>2025-12-14 19:42:02 +0000
commite4a8f2b14f789075612bfd26e8153039c8f295f2 (patch)
treeb7119ab4adbd4eefb7d23413ca5d35637f7e8bf6 /src/helpers/Monitor.hpp
parent6535ff07c9f16dbd4928f1ef8a12a939db59f7b5 (diff)
renderer: add zoom with detached camera (#12548)
Diffstat (limited to 'src/helpers/Monitor.hpp')
-rw-r--r--src/helpers/Monitor.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/helpers/Monitor.hpp b/src/helpers/Monitor.hpp
index debf2ec7..95e5ce5c 100644
--- a/src/helpers/Monitor.hpp
+++ b/src/helpers/Monitor.hpp
@@ -11,6 +11,7 @@
#include "CMType.hpp"
#include <xf86drmMode.h>
+#include "MonitorZoomController.hpp"
#include "time/Timer.hpp"
#include "math/Math.hpp"
#include "../desktop/reserved/ReservedArea.hpp"
@@ -130,6 +131,8 @@ class CMonitor {
uint32_t m_drmFormat = DRM_FORMAT_INVALID;
uint32_t m_prevDrmFormat = DRM_FORMAT_INVALID;
+ CMonitorZoomController m_zoomController;
+
bool m_dpmsStatus = true;
bool m_vrrActive = false; // this can be TRUE even if VRR is not active in the case that this display does not support it.
bool m_enabled10bit = false; // as above, this can be TRUE even if 10 bit failed.