From f472dc1158bb29392fdb28fe3d4a2a1b14a5d06c Mon Sep 17 00:00:00 2001 From: MartinMueller2003 Date: Thu, 29 Feb 2024 16:32:04 -0500 Subject: [PATCH] Added mechanism to estimate the marshaled size of a control. --- src/ESPUIcontrol.cpp | 12 ++++++++++-- src/ESPUIcontrol.h | 12 ++++++++++-- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/src/ESPUIcontrol.cpp b/src/ESPUIcontrol.cpp index 44002ac..554e7d5 100644 --- a/src/ESPUIcontrol.cpp +++ b/src/ESPUIcontrol.cpp @@ -19,6 +19,7 @@ Control::Control(ControlType type, const char* label, std::function