1
0
forked from 0ad/0ad
0ad/source/gui
elexis e67f364887 Warn if the derived class and the base class have the same AddSetting call instead of silently ignoring it.
Enabled by f69261d37b (refs d412b2010b / D2314, 7bb0f2ea69 / D2318).
Helps structuring the GUI so that AddSetting and GetSetting are in the
same file, which defragments code and may allow for future optimizations
(setting values as class members for Draw calls), refs D2313.

Differential Revision: https://code.wildfiregames.com/D2320
Tested on: clang 8.0.1, Jenkins

This was SVN commit r22975.
2019-09-22 22:49:20 +00:00
..
scripting Fix missing JSAutoRequest before JS_ReportError in various commits. 2019-09-20 19:18:07 +00:00
tests Improve js glue code in D1839/61e3f1ec0d (hotkey state fix) and deal with rebase leftovers. 2019-09-22 07:38:13 +00:00
CButton.cpp Defragment IGUIButtonBehavior Settings. 2019-09-22 14:53:27 +00:00
CButton.h Defragment IGUIButtonBehavior Settings. 2019-09-22 14:53:27 +00:00
CChart.cpp Delete GUI.h umbrella include following 8d0cb1b954. 2019-09-20 13:11:18 +00:00
CChart.h Delete GUI.h umbrella include following 8d0cb1b954. 2019-09-20 13:11:18 +00:00
CCheckBox.cpp Defragment IGUIButtonBehavior Settings. 2019-09-22 14:53:27 +00:00
CCheckBox.h Delete unused CCheckbox text setting remains following b1422137e5, refs 0f807c643a. 2019-09-21 03:11:18 +00:00
CDropDown.cpp Warn if the derived class and the base class have the same AddSetting call instead of silently ignoring it. 2019-09-22 22:49:20 +00:00
CDropDown.h Defragment IGUIButtonBehavior Settings. 2019-09-22 14:53:27 +00:00
CGUI.cpp Improve js glue code in D1839/61e3f1ec0d (hotkey state fix) and deal with rebase leftovers. 2019-09-22 07:38:13 +00:00
CGUI.h Delete empty IGUIObject::Destroy function and MEGA TODO from 5122b0f906, e21ebb37f5. 2019-09-20 15:25:13 +00:00
CGUIColor.cpp Use CGUI& instead of CGUI* so that the 50+ users stop wondering whether or not that is null and can't even be mistaken to add redundant null checks preemptively. 2019-08-21 10:12:33 +00:00
CGUIColor.h Use CGUI& instead of CGUI* so that the 50+ users stop wondering whether or not that is null and can't even be mistaken to add redundant null checks preemptively. 2019-08-21 10:12:33 +00:00
CGUIDummyObject.h Move CGUIDummyObject class used for empty GUI objects to a separate file, and put the according CGUI page base object on the stack. 2019-09-18 20:51:45 +00:00
CGUIList.h Delete GUI.h umbrella include following 8d0cb1b954. 2019-09-20 13:11:18 +00:00
CGUIScrollBarVertical.cpp Delete GUI.h umbrella include following 8d0cb1b954. 2019-09-20 13:11:18 +00:00
CGUIScrollBarVertical.h Delete GUI.h umbrella include following 8d0cb1b954. 2019-09-20 13:11:18 +00:00
CGUISeries.h Delete GUI.h umbrella include following 8d0cb1b954. 2019-09-20 13:11:18 +00:00
CGUISetting.cpp Fix missing JSAutoRequest before JS_ReportError in various commits. 2019-09-20 19:18:07 +00:00
CGUISetting.h Solemnly delete class GUI and rename GUIUtil.h to CGUISetting.h. 2019-08-29 09:07:29 +00:00
CGUISprite.cpp Use CGUI& instead of CGUI* so that the 50+ users stop wondering whether or not that is null and can't even be mistaken to add redundant null checks preemptively. 2019-08-21 10:12:33 +00:00
CGUISprite.h Delete GUI.h umbrella include following 8d0cb1b954. 2019-09-20 13:11:18 +00:00
CGUIString.cpp Delete GUI.h umbrella include following 8d0cb1b954. 2019-09-20 13:11:18 +00:00
CGUIString.h Use CGUI& instead of CGUI* so that the 50+ users stop wondering whether or not that is null and can't even be mistaken to add redundant null checks preemptively. 2019-08-21 10:12:33 +00:00
CGUIText.cpp Move CGUIDummyObject class used for empty GUI objects to a separate file, and put the according CGUI page base object on the stack. 2019-09-18 20:51:45 +00:00
CGUIText.h Solemnly delete class GUI and rename GUIUtil.h to CGUISetting.h. 2019-08-29 09:07:29 +00:00
CImage.cpp Remove AddSetting<CStrW>("tooltip") and AddSetting<CStr>("tooltip_style") calls redundant with the ones in the IGUIObject base constructor. 2019-09-21 16:13:18 +00:00
CImage.h Delete GUI.h umbrella include following 8d0cb1b954. 2019-09-20 13:11:18 +00:00
CInput.cpp Remove AddSetting<CStrW>("tooltip") and AddSetting<CStr>("tooltip_style") calls redundant with the ones in the IGUIObject base constructor. 2019-09-21 16:13:18 +00:00
CInput.h Delete GUI.h umbrella include following 8d0cb1b954. 2019-09-20 13:11:18 +00:00
CList.cpp Remove AddSetting<CStrW>("tooltip") and AddSetting<CStr>("tooltip_style") calls redundant with the ones in the IGUIObject base constructor. 2019-09-21 16:13:18 +00:00
CList.h Delete GUI.h umbrella include following 8d0cb1b954. 2019-09-20 13:11:18 +00:00
COList.cpp Delete GUI.h umbrella include following 8d0cb1b954. 2019-09-20 13:11:18 +00:00
COList.h Delete GUI.h umbrella include following 8d0cb1b954. 2019-09-20 13:11:18 +00:00
CProgressBar.cpp Remove AddSetting<CStrW>("tooltip") and AddSetting<CStr>("tooltip_style") calls redundant with the ones in the IGUIObject base constructor. 2019-09-21 16:13:18 +00:00
CProgressBar.h Delete GUI.h umbrella include following 8d0cb1b954. 2019-09-20 13:11:18 +00:00
CRadioButton.cpp Delete unused CCheckbox text setting remains following b1422137e5, refs 0f807c643a. 2019-09-21 03:11:18 +00:00
CRadioButton.h Delete GUI.h umbrella include following 8d0cb1b954. 2019-09-20 13:11:18 +00:00
CSlider.cpp Delete GUI.h umbrella include following 8d0cb1b954. 2019-09-20 13:11:18 +00:00
CSlider.h Delete GUI.h umbrella include following 8d0cb1b954. 2019-09-20 13:11:18 +00:00
CText.cpp Remove AddSetting<CStrW>("tooltip") and AddSetting<CStr>("tooltip_style") calls redundant with the ones in the IGUIObject base constructor. 2019-09-21 16:13:18 +00:00
CText.h Delete GUI.h umbrella include following 8d0cb1b954. 2019-09-20 13:11:18 +00:00
CTooltip.cpp Delete GUI.h umbrella include following 8d0cb1b954. 2019-09-20 13:11:18 +00:00
CTooltip.h Use CGUI& instead of CGUI* so that the 50+ users stop wondering whether or not that is null and can't even be mistaken to add redundant null checks preemptively. 2019-08-21 10:12:33 +00:00
GUIbase.cpp Delete GUI.h umbrella include following 8d0cb1b954. 2019-09-20 13:11:18 +00:00
GUIbase.h Delete GUI.h umbrella include following 8d0cb1b954. 2019-09-20 13:11:18 +00:00
GUIManager.cpp Happy savegame hack removal following e0ea53a8ee, refs #2030. 2019-09-18 00:17:56 +00:00
GUIManager.h Delete GUI.h umbrella include following 8d0cb1b954. 2019-09-20 13:11:18 +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
GUIRenderer.cpp Solemnly delete class GUI and rename GUIUtil.h to CGUISetting.h. 2019-08-29 09:07:29 +00:00
GUIRenderer.h Delete GUI.h umbrella include following 8d0cb1b954. 2019-09-20 13:11:18 +00:00
GUIStringConversions.cpp Solemnly delete class GUI and rename GUIUtil.h to CGUISetting.h. 2019-08-29 09:07:29 +00:00
GUITooltip.cpp Delete GUI.h umbrella include following 8d0cb1b954. 2019-09-20 13:11:18 +00:00
GUITooltip.h Use CGUI& instead of CGUI* so that the 50+ users stop wondering whether or not that is null and can't even be mistaken to add redundant null checks preemptively. 2019-08-21 10:12:33 +00:00
GUItypes.h Delete GUI.h umbrella include following 8d0cb1b954. 2019-09-20 13:11:18 +00:00
IGUIButtonBehavior.cpp Defragment IGUIButtonBehavior Settings. 2019-09-22 14:53:27 +00:00
IGUIButtonBehavior.h Defragment IGUIButtonBehavior Settings. 2019-09-22 14:53:27 +00:00
IGUIObject.cpp Warn if the derived class and the base class have the same AddSetting call instead of silently ignoring it. 2019-09-22 22:49:20 +00:00
IGUIObject.h Delete empty IGUIObject::Destroy function and MEGA TODO from 5122b0f906, e21ebb37f5. 2019-09-20 15:25:13 +00:00
IGUIScrollBar.cpp Delete GUI.h umbrella include following 8d0cb1b954. 2019-09-20 13:11:18 +00:00
IGUIScrollBar.h Delete GUI.h umbrella include following 8d0cb1b954. 2019-09-20 13:11:18 +00:00
IGUIScrollBarOwner.cpp Delete GUI.h umbrella include following 8d0cb1b954. 2019-09-20 13:11:18 +00:00
IGUIScrollBarOwner.h Delete GUI.h umbrella include following 8d0cb1b954. 2019-09-20 13:11:18 +00:00
IGUITextOwner.cpp Delete GUI.h umbrella include following 8d0cb1b954. 2019-09-20 13:11:18 +00:00
IGUITextOwner.h Delete GUI.h umbrella include following 8d0cb1b954. 2019-09-20 13:11:18 +00:00
MiniMap.cpp Remove AddSetting<CStrW>("tooltip") and AddSetting<CStr>("tooltip_style") calls redundant with the ones in the IGUIObject base constructor. 2019-09-21 16:13:18 +00:00
MiniMap.h Delete GUI.h umbrella include following 8d0cb1b954. 2019-09-20 13:11:18 +00:00