blob: b5ce03e9f6312c45ba77f693c5a5acdba2682956 (
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
42
43
44
45
46
47
|
/* -------------------------------------------
Copyright ZKA Technologies.
------------------------------------------- */
#ifndef __CORECG_ACCESS_HXX__
#define __CORECG_ACCESS_HXX__
#include <NewKit/NewKit.hxx>
#include <KernelKit/LPC.hxx>
#include <Modules/CoreCG/FbRenderer.hxx>
#include <Modules/CoreCG/Math.hxx>
#include <ArchKit/ArchKit.hxx>
namespace CG
{
using namespace Kernel;
/// @brief common User interface class.
class UIAccessibilty final
{
explicit UIAccessibilty() = default;
~UIAccessibilty() = default;
public:
ZKA_COPY_DELETE(UIAccessibilty);
STATIC UIAccessibilty& The()
{
STATIC UIAccessibilty the;
return the;
}
Int64 Width() noexcept
{
return kHandoverHeader->f_GOP.f_Width;
}
Int64 Height() noexcept
{
return kHandoverHeader->f_GOP.f_Height;
}
};
} // namespace Kernel
#endif // !__CORECG_ACCESS_HXX__
|