forked from 0ad/0ad
elexis
8f1b37b216
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. |
||
---|---|---|
.. | ||
config | ||
l10n | ||
mods | ||
tests | ||
tools |