summaryrefslogtreecommitdiffhomepage
path: root/dev/modules/CoreGfx/CoreAccess.h
blob: 246b386a5f2f472f7dd15699d2f991db097b9534 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/* -------------------------------------------

  Copyright Amlal El Mahrouss.

------------------------------------------- */

#ifndef CORE_GFX_ACCESSIBILITY_H
#define CORE_GFX_ACCESSIBILITY_H

#include <ArchKit/ArchKit.h>
#include <KernelKit/KPC.h>
#include <NeKit/NeKit.h>
#include <modules/CoreGfx/CoreGfx.h>
#include <modules/CoreGfx/MathGfx.h>

namespace FB {
using namespace Kernel;

/// @brief common User interface class.
class CGAccessibilty final {
  explicit CGAccessibilty() = default;
  ~CGAccessibilty()         = default;

 public:
  NE_COPY_DELETE(CGAccessibilty)

  static UInt64 Width() noexcept { return kHandoverHeader->f_GOP.f_Width; }

  static UInt64 Height() noexcept { return kHandoverHeader->f_GOP.f_Height; }
};
}  // namespace FB

#endif  // !CORE_GFX_ACCESSIBILITY_H_