0ad/source/gui/Scripting
Vantha 5a92c22d90
Some checks failed
checkrefs / lfscheck (push) Has been cancelled
checkrefs / checkrefs (push) Has been cancelled
lint / cppcheck (push) Has been cancelled
lint / copyright (push) Has been cancelled
lint / jenkinsfiles (push) Has been cancelled
pre-commit / build (push) Has been cancelled
Compute actual size of GUI objects lazily
This shifts the responsibility of updating the actual size more towards
IGUIObject, and enables only ever doing it when the value is actually
needed. This allows us to remove the delay of size changed
notifications, since the value is now already recalculated as
infrequently as possible anyways.

All of that ensures that the actual size (returned by GetActualSize) is
always up-to-date e.g. when reading it from the parent, which was
previously broken.

Fixes #8200
2026-04-12 00:17:02 +02:00
..
GuiScriptConversions.cpp Fix most headers in gui 2025-07-05 12:42:34 +02:00
JSInterface_CGUISize.cpp Compute actual size of GUI objects lazily 2026-04-12 00:17:02 +02:00
JSInterface_CGUISize.h Allow setting CGUISize properties directly 2025-06-17 12:57:33 -05:00
JSInterface_GUIManager.cpp Fix some includes all over the place 2025-08-14 20:15:30 +02:00
JSInterface_GUIManager.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
JSInterface_GUIProxy.cpp Compute actual size of GUI objects lazily 2026-04-12 00:17:02 +02:00
JSInterface_GUIProxy.h Remove ScriptTypes and ScriptExtraHeaders headers 2025-09-14 13:17:18 +02:00
JSInterface_GUIProxy_impl.h Remove Script::CreateArray 2026-02-08 19:27:50 +01:00
JSInterface_GUISize.cpp Fix most headers in gui 2025-07-05 12:42:34 +02:00
JSInterface_GUISize.h Remove ScriptTypes and ScriptExtraHeaders headers 2025-09-14 13:17:18 +02:00
ScriptFunctions.cpp Fix most headers in gui 2025-07-05 12:42:34 +02:00
ScriptFunctions.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00