0ad/binaries/data
elexis 8f1b37b216 Major ordered list GUI cleanup. Patch by Imarok, fixes #3905.
Remove m_SelectedDef, m_SelectedColumnOrder and m_HeadingHeight. Use
GetSetting and SetSetting instead. Thus
implement selecting a column / column order sprite from JS correctly.
Since the actual list sorting is done in JS, only the column header
sprites were inaccurate.

Remove "selected_def" since that is redundant with "selected_column".
Merge "selected_column" with "default_column" (and
"selected_column_order" with "default_column_order") since
all properties provided in XML pages are defaults and to remove the
copying on init.

Rename "def" to "column" and "ObjectDef" to "COListColumn".
Replace 30px header height hardcoded in the C++ with an option set by
the style.
Remove the unneeded requirement to specify a "list_name".
Thus rename "list_name" to "list_month" in the replay menu.
Remove unneeded "list_" prefix and substr(5) in column checks.
Use ranged loops.
Fix typo "Avalible".
Add an error message if the GUI style doesn't specify the selected
column order.

This was SVN commit r18652.
2016-08-31 19:29:48 +00:00
..
config The old debug API has been removed in SpiderMonkey 38, so remove profiler1 script profiling. 2016-08-02 16:58:30 +00:00
l10n Switch i18n scripts to use Pology. Fixes #2539. 2014-10-26 00:28:35 +00:00
mods Major ordered list GUI cleanup. Patch by Imarok, fixes #3905. 2016-08-31 19:29:48 +00:00
tests
tools Remove charge attack from the templates which isn't implemented nor designed yet. Patch by fatherbushido, fixes #4139. 2016-08-11 14:35:50 +00:00