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 --- Public/Developer/System.Core/Sources/Window.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'Public/Developer/System.Core/Sources/Window.c') diff --git a/Public/Developer/System.Core/Sources/Window.c b/Public/Developer/System.Core/Sources/Window.c index 2b589402..b68c1afb 100644 --- a/Public/Developer/System.Core/Sources/Window.c +++ b/Public/Developer/System.Core/Sources/Window.c @@ -59,4 +59,12 @@ CA_EXTERN_C Int32Type WmMoveWindow(WindowPort* id, WmPoint where) { id->windowMoving = True; return 0; -} \ No newline at end of file +} + +/// Colors! + +CA_EXTERN_C const ColorRef kRgbRed = 0x000000FF; +CA_EXTERN_C const ColorRef kRgbGreen = 0x0000FF00; +CA_EXTERN_C const ColorRef kRgbBlue = 0x00FF0000; +CA_EXTERN_C const ColorRef kRgbBlack = 0x00000000; +CA_EXTERN_C const ColorRef kRgbWhite = 0xFFFFFFFF; -- cgit v1.2.3