diff options
| author | Amlal <amlal@el-mahrouss-logic.com> | 2024-09-12 05:32:09 +0200 |
|---|---|---|
| committer | Amlal <amlal@el-mahrouss-logic.com> | 2024-09-12 05:32:09 +0200 |
| commit | 95f2fc6a9ba93d98a81a817c489de5946dc3f13b (patch) | |
| tree | b97f07c20b41a34550eaa37bc877507e044e356a /dev/ZKA/Modules | |
| parent | b323d403149db3d720a63af1087d44718821bd67 (diff) | |
Kernel and Bootloader improvements.
- The Allocator works, we have to find a free memory region for the kernel though.
- Add Init procedure to DriveMgr.
- Refactor CG for cgwm.sys
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'dev/ZKA/Modules')
| -rw-r--r-- | dev/ZKA/Modules/CoreCG/WindowRenderer.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dev/ZKA/Modules/CoreCG/WindowRenderer.hxx b/dev/ZKA/Modules/CoreCG/WindowRenderer.hxx index ebd47ac9..153cb64f 100644 --- a/dev/ZKA/Modules/CoreCG/WindowRenderer.hxx +++ b/dev/ZKA/Modules/CoreCG/WindowRenderer.hxx @@ -47,7 +47,7 @@ namespace CG Size w_child_count{0}; struct UI_WINDOW_STRUCT* w_child_elements[cChildElementCount]{0}; struct UI_WINDOW_STRUCT* w_parent{nullptr}; - UInt32* display_ptr{nullptr}; + UInt32* w_display_ptr{nullptr}; Bool w_needs_repaint{false}; }; @@ -92,8 +92,8 @@ namespace CG wnd->w_w = width; wnd->w_h = height; - wnd->display_ptr = new UInt32[width * height]; - rt_set_memory(wnd->display_ptr, CGColor(0xF5, 0xF5, 0xF5), width * height); + wnd->w_display_ptr = new UInt32[width * height]; + rt_set_memory(wnd->w_display_ptr, CGColor(0xF5, 0xF5, 0xF5), width * height); return wnd; } @@ -182,7 +182,7 @@ namespace CG // Draw fake controls, just for the looks of it (WINDOW ONLY) if (wnd[index]->w_type == cWndFlagWindow) { - CGDrawBitMapInRegion(wnd[index]->display_ptr, wnd[index]->w_h, wnd[index]->w_w, wnd[index]->w_y, wnd[index]->w_x); + CGDrawBitMapInRegion(wnd[index]->w_display_ptr, wnd[index]->w_h, wnd[index]->w_w, wnd[index]->w_y, wnd[index]->w_x); CGDrawInRegion(CGColor(0xFF, 0xFF, 0xFF), wnd[index]->w_w, FLATCONTROLS_HEIGHT, wnd[index]->w_y, wnd[index]->w_x); if (wnd[index]->w_sub_type != cWndFlagHideCloseControl) |
