From d562c97291a69d1ce73e89ba300209a49d419173 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Thu, 28 Mar 2024 22:49:49 +0100 Subject: 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 --- Private/KernelKit/Framebuffer.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Private/KernelKit/Framebuffer.hpp') 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 /***********************************************************************************/ -- cgit v1.2.3