summaryrefslogtreecommitdiffhomepage
path: root/Private/KernelKit/Framebuffer.hpp
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-26 05:16:48 +0100
committerAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-26 05:16:48 +0100
commit1cd930c0c72f215101300dfcc5860800a474362d (patch)
tree78b3a29c8d9936baaa78b628e0862eb6546c56d8 /Private/KernelKit/Framebuffer.hpp
parent4bac72356c29f6f92c0d0df40e1aef09a4216d56 (diff)
Kernel: Adding IPC support.
Kernel: Adding better framebuffer support. Kernel: Expose part of CFKit' URL API. System.Core: Rename most of API types to their <Prefix> with Ref at the end. System.Core: Add API to Window.hxx System.Driver: Add Driver SDK. Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Private/KernelKit/Framebuffer.hpp')
-rw-r--r--Private/KernelKit/Framebuffer.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Private/KernelKit/Framebuffer.hpp b/Private/KernelKit/Framebuffer.hpp
index 0dfeacef..397f62d0 100644
--- a/Private/KernelKit/Framebuffer.hpp
+++ b/Private/KernelKit/Framebuffer.hpp
@@ -67,18 +67,18 @@ class Framebuffer final {
};
/***********************************************************************************/
-/// Framebuffer utils.
+/// Color utils.
/***********************************************************************************/
const UInt32 kRgbRed = 0x000000FF;
const UInt32 kRgbGreen = 0x0000FF00;
const UInt32 kRgbBlue = 0x00FF0000;
const UInt32 kRgbBlack = 0x00000000;
-const UInt32 kRgbWhite = 0x00FFFFFF;
+const UInt32 kRgbWhite = 0xFFFFFFFF;
} // namespace HCore
/***********************************************************************************/
-/// Framebuffer macros.
+/// Color macros.
/***********************************************************************************/
#define RGB(R, G, B) (HCore::UInt32)(0x##R##G##B)