summaryrefslogtreecommitdiffhomepage
path: root/dev/ZKA/Modules/CoreCG
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-08-28 08:00:52 +0200
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-08-28 08:00:52 +0200
commit3c233e380524d6842d396fd0a1fb9aeacf34d35f (patch)
tree30ea7f65f614c96e60cb514d8402c352cdc05879 /dev/ZKA/Modules/CoreCG
parentcdaf8e9379f1756a9416f455ff5552fb8871c16d (diff)
[IMP] Add ipc_construct_packet function to IPC protocol implementation.
[IMP] Update Endian enum to match the one from the IPC protocol. [IMP] MUST_PASS works in debug only now. Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/ZKA/Modules/CoreCG')
-rw-r--r--dev/ZKA/Modules/CoreCG/WindowRenderer.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev/ZKA/Modules/CoreCG/WindowRenderer.hxx b/dev/ZKA/Modules/CoreCG/WindowRenderer.hxx
index 1a7d1660..580e2197 100644
--- a/dev/ZKA/Modules/CoreCG/WindowRenderer.hxx
+++ b/dev/ZKA/Modules/CoreCG/WindowRenderer.hxx
@@ -34,6 +34,8 @@ namespace CG
struct UI_WINDOW_STRUCT final
{
+ static constexpr auto cChildElementCount = 255;
+
Char w_window_name[255]{0};
Char w_class_name[255]{0};
Int32 w_type{0};
@@ -43,7 +45,7 @@ namespace CG
Int32 w_w{0};
Int32 w_h{0};
Size w_child_count{0};
- struct UI_WINDOW_STRUCT* w_child_elements[255]{0};
+ struct UI_WINDOW_STRUCT* w_child_elements[cChildElementCount]{0};
struct UI_WINDOW_STRUCT* w_parent{nullptr};
UInt32* display_ptr{nullptr};
Bool w_needs_repaint{false};