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 /Public/Developer/System.Core/Sources/Window.c | |
| 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 'Public/Developer/System.Core/Sources/Window.c')
| -rw-r--r-- | Public/Developer/System.Core/Sources/Window.c | 10 |
1 files changed, 9 insertions, 1 deletions
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; |
