From f7d860cee74ad3b94e0d15ea157783b7760f6d55 Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Thu, 31 Jul 2025 15:15:16 -0400 Subject: pke-ui: detect mouse clicks, other small refactors --- src/serialization-static-ui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/serialization-static-ui.cpp') 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(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)) { -- cgit v1.2.3