summaryrefslogtreecommitdiffhomepage
path: root/Private/KernelKit
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-28 22:49:49 +0100
committerAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-28 22:53:45 +0100
commitd562c97291a69d1ce73e89ba300209a49d419173 (patch)
tree7ee625bb1ef115f3fae9cf60e0586880dc8ba3c7 /Private/KernelKit
parentb2c7b8604ed3a4c209a15a9ffd718a43163dd9b4 (diff)
Extend Swap HD from 4MIB to 16MIB, Made SystemLib purely C, added SystemCxxLib for that occasion.
Update Framebuffer include to define the color utils inside the C++ source file. Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Private/KernelKit')
-rw-r--r--Private/KernelKit/Framebuffer.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/Private/KernelKit/Framebuffer.hpp b/Private/KernelKit/Framebuffer.hpp
index d399f382..91b4e8fd 100644
--- a/Private/KernelKit/Framebuffer.hpp
+++ b/Private/KernelKit/Framebuffer.hpp
@@ -70,11 +70,11 @@ class Framebuffer final {
/// Color utils.
/***********************************************************************************/
-const UInt32 kRgbRed = 0x000000FF;
-const UInt32 kRgbGreen = 0x0000FF00;
-const UInt32 kRgbBlue = 0x00FF0000;
-const UInt32 kRgbBlack = 0x00000000;
-const UInt32 kRgbWhite = 0xFFFFFFFF;
+extern const UInt32 kRgbRed;
+extern const UInt32 kRgbGreen;
+extern const UInt32 kRgbBlue;
+extern const UInt32 kRgbBlack;
+extern const UInt32 kRgbWhite;
} // namespace NewOS
/***********************************************************************************/