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