0ad/source/gui
wraitii 66fbc23f2c De-singletonify CConfigDB, make hooks RAII.
CConfigDB is no longer a singleton, and its members are no longer
static.
This makes it possible to have several instances of it, useful for
testing of if we ever want to have different config profiles.

Also updates hooks to delete themselves on destruction, to fit a more
natural RAII pattern. Long-lived objects must take care to destroy hooks
before ConfigDB is reset.

Differential Revision: https://code.wildfiregames.com/D3866
This was SVN commit r25326.
2021-04-27 07:45:40 +00:00
..
ObjectBases Simplify GUI Proxy implementation & customisation. 2021-04-09 18:01:47 +00:00
ObjectTypes Revert 895182cbcb 2021-04-25 13:42:51 +00:00
Scripting Fix --without-pch build. fc60d80af1 was missing an include. 2021-04-13 17:28:01 +00:00
SettingTypes Moves CRect from ps to maths to related geometric primitives. 2021-03-30 21:14:36 +00:00
tests De-singletonify CConfigDB, make hooks RAII. 2021-04-27 07:45:40 +00:00
CGUI.cpp Disables depth test for GUI rendering. 2021-04-11 19:36:52 +00:00
CGUI.h Moves CRect from ps to maths to related geometric primitives. 2021-03-30 21:14:36 +00:00
CGUIScrollBarVertical.cpp Cleanups CGUISprite, removes redundant method. 2021-03-31 19:26:05 +00:00
CGUIScrollBarVertical.h Replaces CPos by more a consistent CVector2D, reduces geometry code duplication. 2021-03-28 21:55:13 +00:00
CGUISetting.cpp Fix building without precompiled headers. 2020-11-18 11:35:36 +00:00
CGUISetting.h Improve JS Exception handling. 2020-11-15 18:29:17 +00:00
CGUISprite.cpp Removes unused and limited cell sprite functionality. 2021-03-27 11:38:34 +00:00
CGUISprite.h Cleanups CGUISprite, removes redundant method. 2021-03-31 19:26:05 +00:00
CGUIText.cpp Replaces CPos by more a consistent CVector2D, reduces geometry code duplication. 2021-03-28 21:55:13 +00:00
CGUIText.h Moves CRect from ps to maths to related geometric primitives. 2021-03-30 21:14:36 +00:00
GUIManager.cpp Replace DISCARD macro with ignore_result template. 2020-12-15 09:03:44 +00:00
GUIManager.h Removes unused containers included in headers. 2021-03-03 23:01:08 +00:00
GUIMatrix.cpp Move GetDefaultGuiMatrix to a separate file. 2019-08-04 03:52:00 +00:00
GUIMatrix.h Move GetDefaultGuiMatrix to a separate file. 2019-08-04 03:52:00 +00:00
GUIObjectTypes.cpp Add getTextSize() for CButton 2020-12-11 16:12:46 +00:00
GUIRenderer.cpp Draws GUI elements by Z order. 2021-04-11 11:27:53 +00:00
GUIRenderer.h Moves CRect from ps to maths to related geometric primitives. 2021-03-30 21:14:36 +00:00
GUISettingTypes.h Replaces CPos by more a consistent CVector2D, reduces geometry code duplication. 2021-03-28 21:55:13 +00:00
GUIStringConversions.cpp Replaces CPos by more a consistent CVector2D, reduces geometry code duplication. 2021-03-28 21:55:13 +00:00
GUITooltip.cpp Replaces CPos by more a consistent CVector2D, reduces geometry code duplication. 2021-03-28 21:55:13 +00:00
GUITooltip.h Replaces CPos by more a consistent CVector2D, reduces geometry code duplication. 2021-03-28 21:55:13 +00:00
IGUIScrollBar.cpp Replaces CPos by more a consistent CVector2D, reduces geometry code duplication. 2021-03-28 21:55:13 +00:00
IGUIScrollBar.h Replaces CPos by more a consistent CVector2D, reduces geometry code duplication. 2021-03-28 21:55:13 +00:00
SGUIIcon.h Moves CSize into a separate file and renames it to CSize2D according to other geometric entities. 2021-03-27 16:08:06 +00:00
SGUIMessage.h Allow right-click on disabled buttons. 2020-11-14 18:16:24 +00:00
SGUIStyle.h Move GUIbase structs and enums to separate files. 2019-10-01 12:46:55 +00:00