summaryrefslogtreecommitdiff
path: root/src/serialization-static-ui.cpp
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2025-07-31 15:15:16 -0400
committerJonathan Bradley <jcb@pikum.xyz>2025-07-31 15:15:16 -0400
commitf7d860cee74ad3b94e0d15ea157783b7760f6d55 (patch)
treec2d37ae18a4ce1a63da4010516ecc588bfb7903a /src/serialization-static-ui.cpp
parent8dbacba532e05d76325392d85a75906f2de12350 (diff)
pke-ui: detect mouse clicks, other small refactors
Diffstat (limited to 'src/serialization-static-ui.cpp')
-rw-r--r--src/serialization-static-ui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/serialization-static-ui.cpp b/src/serialization-static-ui.cpp
index 1495c61..9ed86a0 100644
--- a/src/serialization-static-ui.cpp
+++ b/src/serialization-static-ui.cpp
@@ -75,7 +75,7 @@ pk_handle pke_serialize_ui_box(srlztn_serialize_helper *h, pke_ui_box *box) {
kvec.children.bkt = h->bkt;
h->handle_head.itemIndex++;
- compt_a<192==sizeof(pke_ui_box)>();
+ compt_a<208==sizeof(pke_ui_box)>();
if (box->uuid != pk_uuid_zed && box->uuid != pk_uuid_max) {
kve.key = SRLZTN_UI_BOX_UUID;
s = pk_new_arr<char>(37, h->bkt);
@@ -216,7 +216,7 @@ void pke_deserialize_ui_box(srlztn_deserialize_helper *h, pke_kve_container *kve
pke_ui_box *parent_box = nullptr;
bx.type_data = nullptr;
- compt_a<192==sizeof(pke_ui_box)>();
+ compt_a<208==sizeof(pke_ui_box)>();
for (i = 0; i < kvec->arr.next; ++i) {
kve = &kvec->arr[i];
if (strstr(SRLZTN_UI_BOX_UUID, kve->key)) {