summaryrefslogtreecommitdiffhomepage
path: root/dev/modules/CoreGfx/CoreAccess.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-05-02 19:38:46 +0200
committerGitHub <noreply@github.com>2025-05-02 19:38:46 +0200
commit997be16e5ac9a68d54882ab69529815860d62955 (patch)
tree19d6129c2d776bb1edc5d4a7325e39ca176c3403 /dev/modules/CoreGfx/CoreAccess.h
parent618104e74c195d7508a18450524f8ed7f9af8cc6 (diff)
parentb3b4b1ebdcd6adeac914869017c86d892b7a8ced (diff)
Merge pull request #28 from nekernel-org/dev
0.0.2
Diffstat (limited to 'dev/modules/CoreGfx/CoreAccess.h')
-rw-r--r--dev/modules/CoreGfx/CoreAccess.h40
1 files changed, 16 insertions, 24 deletions
diff --git a/dev/modules/CoreGfx/CoreAccess.h b/dev/modules/CoreGfx/CoreAccess.h
index c60505c5..6417db07 100644
--- a/dev/modules/CoreGfx/CoreAccess.h
+++ b/dev/modules/CoreGfx/CoreAccess.h
@@ -1,41 +1,33 @@
/* -------------------------------------------
- Copyright Amlal El Mahrouss.
+ Copyright Amlal El Mahrouss.
------------------------------------------- */
#ifndef CORE_GFX_ACCESSIBILITY_H
#define CORE_GFX_ACCESSIBILITY_H
-#include <NewKit/NewKit.h>
+#include <ArchKit/ArchKit.h>
#include <KernelKit/KPC.h>
+#include <NewKit/NewKit.h>
#include <modules/CoreGfx/CoreGfx.h>
#include <modules/CoreGfx/MathGfx.h>
-#include <ArchKit/ArchKit.h>
-namespace FB
-{
- using namespace Kernel;
+namespace FB {
+using namespace Kernel;
- /// @brief common User interface class.
- class FBAccessibilty final
- {
- explicit FBAccessibilty() = default;
- ~FBAccessibilty() = default;
+/// @brief common User interface class.
+class FBAccessibilty final {
+ explicit FBAccessibilty() = default;
+ ~FBAccessibilty() = default;
- public:
- NE_COPY_DELETE(FBAccessibilty)
+ public:
+ NE_COPY_DELETE(FBAccessibilty)
- static UInt64 Width() noexcept
- {
- return kHandoverHeader->f_GOP.f_Width;
- }
+ static UInt64 Width() noexcept { return kHandoverHeader->f_GOP.f_Width; }
- static UInt64 Height() noexcept
- {
- return kHandoverHeader->f_GOP.f_Height;
- }
- };
-} // namespace FB
+ static UInt64 Height() noexcept { return kHandoverHeader->f_GOP.f_Height; }
+};
+} // namespace FB
-#endif // !CORE_GFX_ACCESSIBILITY_H_
+#endif // !CORE_GFX_ACCESSIBILITY_H_