diff options
| author | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-28 22:49:49 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-28 22:53:45 +0100 |
| commit | d562c97291a69d1ce73e89ba300209a49d419173 (patch) | |
| tree | 7ee625bb1ef115f3fae9cf60e0586880dc8ba3c7 /Private/Source/Framebuffer.cxx | |
| parent | b2c7b8604ed3a4c209a15a9ffd718a43163dd9b4 (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/Source/Framebuffer.cxx')
| -rw-r--r-- | Private/Source/Framebuffer.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Private/Source/Framebuffer.cxx b/Private/Source/Framebuffer.cxx index 2682d165..d0be2a13 100644 --- a/Private/Source/Framebuffer.cxx +++ b/Private/Source/Framebuffer.cxx @@ -21,6 +21,14 @@ using namespace NewOS; +namespace NewOS { +const UInt32 kRgbRed = 0x000000FF; +const UInt32 kRgbGreen = 0x0000FF00; +const UInt32 kRgbBlue = 0x00FF0000; +const UInt32 kRgbBlack = 0x00000000; +const UInt32 kRgbWhite = 0xFFFFFFFF; +} // namespace NewOS + /** * @brief Get Pixel at * |
