summaryrefslogtreecommitdiffhomepage
path: root/dev/modules/CoreGfx/CoreAccess.h
diff options
context:
space:
mode:
authorAmlal <amlal@nekernel.org>2025-04-25 13:08:33 +0200
committerAmlal <amlal@nekernel.org>2025-04-25 13:08:33 +0200
commitfb790b07aeba8e22e4190cf3e1834d11ecde6c96 (patch)
tree4cec7d1b321307b1d5935577631dae116a658a37 /dev/modules/CoreGfx/CoreAccess.h
parent63a2d92c5dfe976175cda024ec01905d11b43738 (diff)
dev: better .clang-format, ran format command.
Signed-off-by: Amlal <amlal@nekernel.org>
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_