1
0
forked from 0ad/0ad
0ad/source/gui
elexis 415939b59b Introduce CGUIColor type inheriting Color type and switch the GUI to exclusively use that.
The type differs from the Color type, because contrary to Color, it can
be created from a color predefined in the GUI page (such as "yellow").
Move this predefined color check to the new class instead of hardcoding
it in FromJSVal / ToJSVal, GUIUtil, JSInterface_IGUIObject and to
straighten the latter.

Delete fov_wedge_color from Minimap, unused since introduction in
5275dc862b.

This was SVN commit r22558.
2019-07-26 18:57:28 +00:00
..
scripting Introduce CGUIColor type inheriting Color type and switch the GUI to exclusively use that. 2019-07-26 18:57:28 +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 Introduce CGUIColor type inheriting Color type and switch the GUI to exclusively use that. 2019-07-26 18:57:28 +00:00
CButton.h GUI code cleanup. Fixes #3354. 2015-08-21 17:08:41 +00:00
CChart.cpp Introduce CGUIColor type inheriting Color type and switch the GUI to exclusively use that. 2019-07-26 18:57:28 +00:00
CChart.h Introduce CGUIColor type inheriting Color type and switch the GUI to exclusively use that. 2019-07-26 18:57:28 +00:00
CCheckBox.cpp Introduce CGUIColor type inheriting Color type and switch the GUI to exclusively use that. 2019-07-26 18:57:28 +00:00
CCheckBox.h GUI code cleanup. Fixes #3354. 2015-08-21 17:08:41 +00:00
CDropDown.cpp Introduce CGUIColor type inheriting Color type and switch the GUI to exclusively use that. 2019-07-26 18:57:28 +00:00
CDropDown.h Fix dropdown list height after resizing the window (in case there is an item that used wordwrapping before but not after the resize or vice versa). 2017-06-29 23:39:12 +00:00
CGUI.cpp Introduce CGUIColor type inheriting Color type and switch the GUI to exclusively use that. 2019-07-26 18:57:28 +00:00
CGUI.h Introduce CGUIColor type inheriting Color type and switch the GUI to exclusively use that. 2019-07-26 18:57:28 +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 GUI engine cleanup. 2016-06-07 15:57:33 +00:00
CGUIScrollBarVertical.h GUI code cleanup. Fixes #3354. 2015-08-21 17:08:41 +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 Fix some gcc 8 and gcc 9 compiler warnings that were thrown 4500 times. 2019-07-09 00:18:48 +00:00
CGUISprite.h Introduce CGUIColor type inheriting Color type and switch the GUI to exclusively use that. 2019-07-26 18:57:28 +00:00
CImage.cpp GUI code cleanup. Fixes #3354. 2015-08-21 17:08:41 +00:00
CImage.h GUI code cleanup. Fixes #3354. 2015-08-21 17:08:41 +00:00
CInput.cpp Introduce CGUIColor type inheriting Color type and switch the GUI to exclusively use that. 2019-07-26 18:57:28 +00:00
CInput.h Implement readonly Input GUI objects and use it in the file location indicator in the replay menu, 2017-08-29 23:53:23 +00:00
CList.cpp Introduce CGUIColor type inheriting Color type and switch the GUI to exclusively use that. 2019-07-26 18:57:28 +00:00
CList.h Get the index of the hovered element in GUI lists and use it to display item-specific tooltips in the gamesetup for the victory condition, maptype and starting resources. 2017-05-15 21:49:10 +00:00
COList.cpp Introduce CGUIColor type inheriting Color type and switch the GUI to exclusively use that. 2019-07-26 18:57:28 +00:00
COList.h Introduce CGUIColor type inheriting Color type and switch the GUI to exclusively use that. 2019-07-26 18:57:28 +00:00
CProgressBar.cpp GUI code cleanup. Fixes #3354. 2015-08-21 17:08:41 +00:00
CProgressBar.h GUI code cleanup. Fixes #3354. 2015-08-21 17:08:41 +00:00
CRadioButton.cpp GUI code cleanup. Fixes #3354. 2015-08-21 17:08:41 +00:00
CRadioButton.h GUI code cleanup. Fixes #3354. 2015-08-21 17:08:41 +00:00
CSlider.cpp [CSlider] On click move the slider-button to the mouse position 2019-04-06 18:47:22 +00:00
CSlider.h [CSlider] On click move the slider-button to the mouse position 2019-04-06 18:47:22 +00:00
CText.cpp Introduce CGUIColor type inheriting Color type and switch the GUI to exclusively use that. 2019-07-26 18:57:28 +00:00
CText.h GUI code cleanup. Fixes #3354. 2015-08-21 17:08:41 +00:00
CTooltip.cpp Introduce CGUIColor type inheriting Color type and switch the GUI to exclusively use that. 2019-07-26 18:57:28 +00:00
CTooltip.h GUI code cleanup. Fixes #3354. 2015-08-21 17:08:41 +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 Introduce CGUIColor type inheriting Color type and switch the GUI to exclusively use that. 2019-07-26 18:57:28 +00:00
GUIManager.cpp Introduce CGUIColor type inheriting Color type and switch the GUI to exclusively use that. 2019-07-26 18:57:28 +00:00
GUIManager.h Introduce CGUIColor type inheriting Color type and switch the GUI to exclusively use that. 2019-07-26 18:57:28 +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 Introduce CGUIColor type inheriting Color type and switch the GUI to exclusively use that. 2019-07-26 18:57:28 +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 Introduce CGUIColor type inheriting Color type and switch the GUI to exclusively use that. 2019-07-26 18:57:28 +00:00
GUIutil.h Introduce CGUIColor type inheriting Color type and switch the GUI to exclusively use that. 2019-07-26 18:57:28 +00:00
IGUIButtonBehavior.cpp Introduce CGUIColor type inheriting Color type and switch the GUI to exclusively use that. 2019-07-26 18:57:28 +00:00
IGUIButtonBehavior.h Introduce CGUIColor type inheriting Color type and switch the GUI to exclusively use that. 2019-07-26 18:57:28 +00:00
IGUIObject.cpp Provide ScriptInterface CreateObject and CreateArray functions to replace Eval calls following 7c2e9027c2, 1c0536bf08 and later. 2019-07-22 19:35:14 +00:00
IGUIObject.h Pass arbitrary arguments to GUI events / SendEventToAll and remove loading screen progess workaround, refs D1716, 6d792365aa, bd3bd084c0, 4b1297b328, db5d4bb5f1. 2019-07-19 21:15:04 +00:00
IGUIScrollBar.cpp GUI code cleanup. Fixes #3354. 2015-08-21 17:08:41 +00:00
IGUIScrollBar.h Fix scrollbare edgy-case and off by 1's in dropdown 2017-11-21 20:07:23 +00:00
IGUIScrollBarOwner.cpp Add a GetTextSize() method to GUI objects 2019-03-18 22:15:40 +00:00
IGUIScrollBarOwner.h GUI code cleanup. Fixes #3354. 2015-08-21 17:08:41 +00:00
IGUITextOwner.cpp Introduce CGUIColor type inheriting Color type and switch the GUI to exclusively use that. 2019-07-26 18:57:28 +00:00
IGUITextOwner.h Introduce CGUIColor type inheriting Color type and switch the GUI to exclusively use that. 2019-07-26 18:57:28 +00:00
MiniMap.cpp Introduce CGUIColor type inheriting Color type and switch the GUI to exclusively use that. 2019-07-26 18:57:28 +00:00
MiniMap.h Update the Minimap texture if the waterheight has changed. 2017-04-16 22:13:32 +00:00