diff options
| author | Amlal El Mahrouss <amlalelmahrouss@icloud.com> | 2024-02-03 15:47:49 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlalelmahrouss@icloud.com> | 2024-02-03 15:47:49 +0100 |
| commit | 0ca5d0d92ee326f3deda797403c27090bd0784ab (patch) | |
| tree | 684e50fca73f3d95931726a68a3840af1905c28c /Private/KernelKit | |
| parent | fcccf780db4cdc23858c108c6cde1d08360ee88f (diff) | |
Bootloader add GOP support and working on NewFS support.
Signed-off-by: Amlal El Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Private/KernelKit')
| -rw-r--r-- | Private/KernelKit/Framebuffer.hpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Private/KernelKit/Framebuffer.hpp b/Private/KernelKit/Framebuffer.hpp index feb34d3a..124cba4f 100644 --- a/Private/KernelKit/Framebuffer.hpp +++ b/Private/KernelKit/Framebuffer.hpp @@ -52,6 +52,22 @@ class Framebuffer final { Ref<FramebufferContext *> m_FrameBufferAddr; FramebufferColorKind m_Colour; }; + +/***********************************************************************************/ +/// Framebuffer utils. +/***********************************************************************************/ + +const UInt32 kRgbRed = 0x000000FF; +const UInt32 kRgbGreen = 0x0000FF00; +const UInt32 kRgbBlue = 0x00FF0000; +const UInt32 kRgbBlack = 0x00000000; +const UInt32 kRgbWhite = 0x00FFFFFF; } // namespace HCore +/***********************************************************************************/ +/// Framebuffer macros. +/***********************************************************************************/ + +#define RGB(R, G, B) (UInt32)(0x##R##G##B) + #endif /* ifndef __INC_FB_HPP__ */ |
