0ad/source/gui/ObjectTypes
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
..
CButton.cpp Compute actual size of GUI objects lazily 2026-04-12 00:17:02 +02:00
CButton.h Compute actual size of GUI objects lazily 2026-04-12 00:17:02 +02:00
CChart.cpp Compute actual size of GUI objects lazily 2026-04-12 00:17:02 +02:00
CChart.h Compute actual size of GUI objects lazily 2026-04-12 00:17:02 +02:00
CCheckBox.cpp Compute actual size of GUI objects lazily 2026-04-12 00:17:02 +02:00
CCheckBox.h Remove default dtors of IGUIObject derived classes 2025-08-11 18:38:01 +02:00
CDropDown.cpp Compute actual size of GUI objects lazily 2026-04-12 00:17:02 +02:00
CDropDown.h Compute actual size of GUI objects lazily 2026-04-12 00:17:02 +02:00
CGUIDummyObject.h Fix headers for gui/ObjectTypes 2025-06-30 20:38:16 +02:00
CHotkeyPicker.cpp Remove default dtors of IGUIObject derived classes 2025-08-11 18:38:01 +02:00
CHotkeyPicker.h Remove default dtors of IGUIObject derived classes 2025-08-11 18:38:01 +02:00
CImage.cpp Compute actual size of GUI objects lazily 2026-04-12 00:17:02 +02:00
CImage.h Remove default dtors of IGUIObject derived classes 2025-08-11 18:38:01 +02:00
CInput.cpp Compute actual size of GUI objects lazily 2026-04-12 00:17:02 +02:00
CInput.h Compute actual size of GUI objects lazily 2026-04-12 00:17:02 +02:00
CList.cpp Compute actual size of GUI objects lazily 2026-04-12 00:17:02 +02:00
CList.h Compute actual size of GUI objects lazily 2026-04-12 00:17:02 +02:00
CMiniMap.cpp Compute actual size of GUI objects lazily 2026-04-12 00:17:02 +02:00
CMiniMap.h Only render the minimap texture if it'll be displayed 2026-03-03 11:25:52 +01:00
COList.cpp Compute actual size of GUI objects lazily 2026-04-12 00:17:02 +02:00
COList.h Fix headers for gui/ObjectTypes 2025-06-30 20:38:16 +02:00
CProgressBar.cpp Compute actual size of GUI objects lazily 2026-04-12 00:17:02 +02:00
CProgressBar.h Remove default dtors of IGUIObject derived classes 2025-08-11 18:38:01 +02:00
CRadioButton.cpp Fix headers for gui/ObjectTypes 2025-06-30 20:38:16 +02:00
CRadioButton.h Fix headers for gui/ObjectTypes 2025-06-30 20:38:16 +02:00
CScrollPanel.cpp Compute actual size of GUI objects lazily 2026-04-12 00:17:02 +02:00
CScrollPanel.h Compute actual size of GUI objects lazily 2026-04-12 00:17:02 +02:00
CSlider.cpp Compute actual size of GUI objects lazily 2026-04-12 00:17:02 +02:00
CSlider.h Remove default dtors of IGUIObject derived classes 2025-08-11 18:38:01 +02:00
CText.cpp Compute actual size of GUI objects lazily 2026-04-12 00:17:02 +02:00
CText.h Compute actual size of GUI objects lazily 2026-04-12 00:17:02 +02:00
CTooltip.cpp Compute actual size of GUI objects lazily 2026-04-12 00:17:02 +02:00
CTooltip.h Compute actual size of GUI objects lazily 2026-04-12 00:17:02 +02:00