0ad/source/gui
elexis df489f2500 Add virtual CreateJSObject to IGUIObject, split from GetJSObject, so that inheriting classes can extend the JS object upon construction, refs #5442, D2136.
Remove the comment from 53bcba3368 that allures the reader to believe
there is a memory leak which is not and has not been the case, refs
D1700.
Remove the useless JSAutoRequest from GetJSObject if the object was
constructed already (performance improvement), following cx assignment
in 4b1297b328, following JSAutoRequest addition in e9e05f4efc (that also
had removed other useles JSAutoRequest calls but not this one).
Don't change JS::PersistentRooted to JS::Heap until SpiderMonkey is
updated, refs D1700.
Provide access to GUI, ScriptHandlers and JSObject for inheriting
classes.

This was SVN commit r22593.
2019-08-02 12:18:30 +00:00
..
scripting Remove both copies of the 15-fold copies of the JSI_IGUIObject::getProperty and setProperty setting case handlers following the FromJSVal / ToJSVal template specializations implemented in 2019-07-29 14:46:29 +00:00
tests Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
CButton.cpp Add virtual base initialization missing in 2c47fbd66a. 2019-08-01 23:55:10 +00:00
CButton.h Pass the GUI page pointer CGUI* to the IGUIObject and derived classes upon construction, instead of on stray cases. 2019-08-01 20:20:24 +00:00
CChart.cpp Add virtual base initialization missing in 2c47fbd66a. 2019-08-01 23:55:10 +00:00
CChart.h Pass the GUI page pointer CGUI* to the IGUIObject and derived classes upon construction, instead of on stray cases. 2019-08-01 20:20:24 +00:00
CCheckBox.cpp Add virtual base initialization missing in 2c47fbd66a. 2019-08-01 23:55:10 +00:00
CCheckBox.h Pass the GUI page pointer CGUI* to the IGUIObject and derived classes upon construction, instead of on stray cases. 2019-08-01 20:20:24 +00:00
CDropDown.cpp Pass the GUI page pointer CGUI* to the IGUIObject and derived classes upon construction, instead of on stray cases. 2019-08-01 20:20:24 +00:00
CDropDown.h Pass the GUI page pointer CGUI* to the IGUIObject and derived classes upon construction, instead of on stray cases. 2019-08-01 20:20:24 +00:00
CGUI.cpp Pass the GUI page pointer CGUI* to the IGUIObject and derived classes upon construction, instead of on stray cases. 2019-08-01 20:20:24 +00:00
CGUI.h Pass the GUI page pointer CGUI* to the IGUIObject and derived classes upon construction, instead of on stray cases. 2019-08-01 20:20:24 +00:00
CGUIColor.h Introduce CGUIColor type inheriting Color type and switch the GUI to exclusively use that. 2019-07-26 18:57:28 +00:00
CGUIList.h Add GPL header 2009-04-18 17:00:33 +00:00
CGUIScrollBarVertical.cpp Pass the GUI page pointer CGUI* to the IGUIObject and derived classes upon construction, instead of on stray cases. 2019-08-01 20:20:24 +00:00
CGUIScrollBarVertical.h Pass the GUI page pointer CGUI* to the IGUIObject and derived classes upon construction, instead of on stray cases. 2019-08-01 20:20:24 +00:00
CGUISeries.h Fix [19027] by using generic code for conversions and fixing a few other issues. Refs #3403. Reviewed by leper. 2017-01-06 11:14:03 +00:00
CGUISprite.cpp CGUISpriteInstance non-copyable and FromJSVal / ToJSVal. 2019-07-28 22:40:58 +00:00
CGUISprite.h CGUISpriteInstance non-copyable and FromJSVal / ToJSVal. 2019-07-28 22:40:58 +00:00
CImage.cpp Pass the GUI page pointer CGUI* to the IGUIObject and derived classes upon construction, instead of on stray cases. 2019-08-01 20:20:24 +00:00
CImage.h Pass the GUI page pointer CGUI* to the IGUIObject and derived classes upon construction, instead of on stray cases. 2019-08-01 20:20:24 +00:00
CInput.cpp Pass the GUI page pointer CGUI* to the IGUIObject and derived classes upon construction, instead of on stray cases. 2019-08-01 20:20:24 +00:00
CInput.h Pass the GUI page pointer CGUI* to the IGUIObject and derived classes upon construction, instead of on stray cases. 2019-08-01 20:20:24 +00:00
CList.cpp Add virtual base initialization missing in 2c47fbd66a. 2019-08-01 23:55:10 +00:00
CList.h Pass the GUI page pointer CGUI* to the IGUIObject and derived classes upon construction, instead of on stray cases. 2019-08-01 20:20:24 +00:00
COList.cpp Pass the GUI page pointer CGUI* to the IGUIObject and derived classes upon construction, instead of on stray cases. 2019-08-01 20:20:24 +00:00
COList.h Pass the GUI page pointer CGUI* to the IGUIObject and derived classes upon construction, instead of on stray cases. 2019-08-01 20:20:24 +00:00
CProgressBar.cpp Pass the GUI page pointer CGUI* to the IGUIObject and derived classes upon construction, instead of on stray cases. 2019-08-01 20:20:24 +00:00
CProgressBar.h Pass the GUI page pointer CGUI* to the IGUIObject and derived classes upon construction, instead of on stray cases. 2019-08-01 20:20:24 +00:00
CRadioButton.cpp Pass the GUI page pointer CGUI* to the IGUIObject and derived classes upon construction, instead of on stray cases. 2019-08-01 20:20:24 +00:00
CRadioButton.h Pass the GUI page pointer CGUI* to the IGUIObject and derived classes upon construction, instead of on stray cases. 2019-08-01 20:20:24 +00:00
CSlider.cpp Pass the GUI page pointer CGUI* to the IGUIObject and derived classes upon construction, instead of on stray cases. 2019-08-01 20:20:24 +00:00
CSlider.h Pass the GUI page pointer CGUI* to the IGUIObject and derived classes upon construction, instead of on stray cases. 2019-08-01 20:20:24 +00:00
CText.cpp Add virtual base initialization missing in 2c47fbd66a. 2019-08-01 23:55:10 +00:00
CText.h Pass the GUI page pointer CGUI* to the IGUIObject and derived classes upon construction, instead of on stray cases. 2019-08-01 20:20:24 +00:00
CTooltip.cpp Add virtual base initialization missing in 2c47fbd66a. 2019-08-01 23:55:10 +00:00
CTooltip.h Pass the GUI page pointer CGUI* to the IGUIObject and derived classes upon construction, instead of on stray cases. 2019-08-01 20:20:24 +00:00
GUI.h Add C++ GUI code for drawing charts. Patch by vladislavbelov. JS will come later. Refs #3403 2016-12-07 19:03:54 +00:00
GUIbase.cpp Move CClientArea ToJSVal / FromJSVal conversion from JSI_IGUIObject (since that should be agnostic of the conversion) to CClientArea (since that defines the properties). 2019-07-26 14:47:27 +00:00
GUIbase.h Pass the GUI page pointer CGUI* to the IGUIObject and derived classes upon construction, instead of on stray cases. 2019-08-01 20:20:24 +00:00
GUIManager.cpp Move CGUIManager::LoadPage to CGUIManager::SGUIPage::LoadPage, because it only operates only on that struct. 2019-08-01 20:48:05 +00:00
GUIManager.h Move CGUIManager::LoadPage to CGUIManager::SGUIPage::LoadPage, because it only operates only on that struct. 2019-08-01 20:48:05 +00:00
GUIRenderer.cpp Introduce CGUIColor type inheriting Color type and switch the GUI to exclusively use that. 2019-07-26 18:57:28 +00:00
GUIRenderer.h Introduce CGUIColor type inheriting Color type and switch the GUI to exclusively use that. 2019-07-26 18:57:28 +00:00
GUItext.cpp CGUISpriteInstance non-copyable and FromJSVal / ToJSVal. 2019-07-28 22:40:58 +00:00
GUItext.h Introduce CGUIColor type inheriting Color type and switch the GUI to exclusively use that. 2019-07-26 18:57:28 +00:00
GUITooltip.cpp Tooltip GUI engine cleanup. 2016-06-15 15:40:05 +00:00
GUITooltip.h GUI code cleanup. Fixes #3354. 2015-08-21 17:08:41 +00:00
GUItypes.h Introduce CGUIColor type inheriting Color type and switch the GUI to exclusively use that. 2019-07-26 18:57:28 +00:00
GUIutil.cpp CGUISpriteInstance non-copyable and FromJSVal / ToJSVal. 2019-07-28 22:40:58 +00:00
GUIutil.h CGUISpriteInstance non-copyable and FromJSVal / ToJSVal. 2019-07-28 22:40:58 +00:00
IGUIButtonBehavior.cpp Add virtual base initialization missing in 2c47fbd66a. 2019-08-01 23:55:10 +00:00
IGUIButtonBehavior.h Add virtual base initialization missing in 2c47fbd66a. 2019-08-01 23:55:10 +00:00
IGUIObject.cpp Add virtual CreateJSObject to IGUIObject, split from GetJSObject, so that inheriting classes can extend the JS object upon construction, refs #5442, D2136. 2019-08-02 12:18:30 +00:00
IGUIObject.h Add virtual CreateJSObject to IGUIObject, split from GetJSObject, so that inheriting classes can extend the JS object upon construction, refs #5442, D2136. 2019-08-02 12:18:30 +00:00
IGUIScrollBar.cpp Add virtual base initialization missing in 2c47fbd66a. 2019-08-01 23:55:10 +00:00
IGUIScrollBar.h Add virtual base initialization missing in 2c47fbd66a. 2019-08-01 23:55:10 +00:00
IGUIScrollBarOwner.cpp Pass the GUI page pointer CGUI* to the IGUIObject and derived classes upon construction, instead of on stray cases. 2019-08-01 20:20:24 +00:00
IGUIScrollBarOwner.h Pass the GUI page pointer CGUI* to the IGUIObject and derived classes upon construction, instead of on stray cases. 2019-08-01 20:20:24 +00:00
IGUITextOwner.cpp Add virtual base initialization missing in 2c47fbd66a. 2019-08-01 23:55:10 +00:00
IGUITextOwner.h Add virtual base initialization missing in 2c47fbd66a. 2019-08-01 23:55:10 +00:00
MiniMap.cpp Pass the GUI page pointer CGUI* to the IGUIObject and derived classes upon construction, instead of on stray cases. 2019-08-01 20:20:24 +00:00
MiniMap.h Pass the GUI page pointer CGUI* to the IGUIObject and derived classes upon construction, instead of on stray cases. 2019-08-01 20:20:24 +00:00