From 557b2f1808213a6634344f179e3b059705c04bb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=98=99=E2=97=A6=20The=20Tablet=20=E2=9D=80=20GamerGirla?= =?UTF-8?q?ndCo=20=E2=97=A6=E2=9D=A7?= Date: Wed, 14 Jan 2026 23:32:18 -0500 Subject: [PATCH] fix(framework): update `TULayoutStorage` class definition --- .../include/public/toon_boom/toon_boom_layout.hpp | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/framework/include/public/toon_boom/toon_boom_layout.hpp b/framework/include/public/toon_boom/toon_boom_layout.hpp index eea31c0..23ca4df 100644 --- a/framework/include/public/toon_boom/toon_boom_layout.hpp +++ b/framework/include/public/toon_boom/toon_boom_layout.hpp @@ -818,16 +818,20 @@ protected: private: // Member layout (x64): - // vptr at +0x00 + // Total size must be exactly 0x88 (136) bytes for correct multiple inheritance offsets! + // vptr at +0x00 (8 bytes, implicit) TULayout *m_currentLayout; // +0x08 TULayout *m_previousLayout; // +0x10 - std::vector m_layouts; // +0x18 (24 bytes) - std::vector m_toolbarLayouts; // +0x30 (24 bytes) - QString m_layoutPath; // +0x50 (24 bytes) + std::vector m_layouts; // +0x18 (24 bytes, ends at +0x30) + std::vector m_toolbarLayouts; // +0x30 (24 bytes, ends at +0x48) + void *_padding1; // +0x48 (8 bytes padding) + QString m_layoutPath; // +0x50 (24 bytes, ends at +0x68) std::map *m_globalToolbarConfig; // +0x68 void *_reserved; // +0x70 std::map *m_viewToolbarConfig; // +0x78 int m_flags; // +0x80 + int _padding2; // +0x84 (4 bytes padding for alignment) + // Total size: 0x88 (136 bytes) }; /**