blob: a45470ebe79cb6d5e24ebb1117ecf6c922996981 (
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
34
35
36
37
38
39
40
41
|
/* -------------------------------------------
Copyright Amlal EL Mahrouss.
------------------------------------------- */
#ifndef GFX_MGR_ACCESSIBILITY_H
#define GFX_MGR_ACCESSIBILITY_H
#include <NewKit/NewKit.h>
#include <KernelKit/LPC.h>
#include <modules/CoreGfx/FBMgr.h>
#include <modules/CoreGfx/MathMgr.h>
#include <ArchKit/ArchKit.h>
namespace FB
{
using namespace NeOS;
/// @brief common User interface class.
class UIAccessibilty final
{
explicit UIAccessibilty() = default;
~UIAccessibilty() = default;
public:
NE_COPY_DELETE(UIAccessibilty);
static Int64 Width() noexcept
{
return kHandoverHeader->f_GOP.f_Width;
}
static Int64 Height() noexcept
{
return kHandoverHeader->f_GOP.f_Height;
}
};
} // namespace FB
#endif // !GFX_MGR_ACCESSIBILITY_H_
|