summaryrefslogtreecommitdiffhomepage
path: root/dev/Mod/CoreGfx/AccessibilityMgr.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-01-07 08:33:01 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-01-07 08:33:01 +0100
commit3ce4b68fc3f1ad9ead503bb3f69bff11b4a3183a (patch)
tree9d679d2092e71a35305ae6c6c9554bfc6528b6ca /dev/Mod/CoreGfx/AccessibilityMgr.h
parentecf2a09a48ef029d09075af744c04e643661ec27 (diff)
FIX: KAN-12 (EPM GPF)
ADD: Dylib object instead of DLL objects. ADD: Introduce CoreGfx instead of GfxMgr. Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/Mod/CoreGfx/AccessibilityMgr.h')
-rw-r--r--dev/Mod/CoreGfx/AccessibilityMgr.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/dev/Mod/CoreGfx/AccessibilityMgr.h b/dev/Mod/CoreGfx/AccessibilityMgr.h
new file mode 100644
index 00000000..f853afae
--- /dev/null
+++ b/dev/Mod/CoreGfx/AccessibilityMgr.h
@@ -0,0 +1,41 @@
+/* -------------------------------------------
+
+ Copyright Theater Quality Corp.
+
+------------------------------------------- */
+
+#ifndef GFX_MGR_ACCESSIBILITY_H
+#define GFX_MGR_ACCESSIBILITY_H
+
+#include <NewKit/NewKit.h>
+#include <KernelKit/LPC.h>
+#include <Mod/CoreGfx/FBMgr.h>
+#include <Mod/CoreGfx/MathMgr.h>
+#include <ArchKit/ArchKit.h>
+
+namespace FB
+{
+ using namespace Kernel;
+
+ /// @brief common User interface class.
+ class UIAccessibilty final
+ {
+ explicit UIAccessibilty() = default;
+ ~UIAccessibilty() = default;
+
+ public:
+ ZKA_COPY_DELETE(UIAccessibilty);
+
+ static Int64 Width() noexcept
+ {
+ return kHandoverHeader->f_GOP.f_Width;
+ }
+
+ static Int64 Height() noexcept
+ {
+ return kHandoverHeader->f_GOP.f_Height;
+ }
+ };
+} // namespace UI
+
+#endif // !GFX_MGR_ACCESSIBILITY_H_