diff options
Diffstat (limited to 'dev/Mod/CoreGfx/AccessibilityMgr.h')
| -rw-r--r-- | dev/Mod/CoreGfx/AccessibilityMgr.h | 41 |
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_ |
