mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-09 11:37:25 +00:00
16dab5a587
Differential Revision: https://code.wildfiregames.com/D1141 Reviewed By: Grugnas Refs #4890 This was SVN commit r20645.
182 lines
7.0 KiB
XML
182 lines
7.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<objects>
|
|
|
|
<script directory="gui/common/"/>
|
|
<script directory="gui/modmod/"/>
|
|
|
|
<object type="image" style="ModernWindow" size="0 0 100% 100%">
|
|
|
|
<!-- Page Title -->
|
|
<object style="ModernLabelText" type="text" size="50%-128 4 50%+128 36">
|
|
<translatableAttribute id="caption">Modifications</translatableAttribute>
|
|
</object>
|
|
|
|
<!-- Message -->
|
|
<object name="message" type="text" size="15 40 100%-15 88" text_align="left" textcolor="white"/>
|
|
|
|
<!-- Reset filters -->
|
|
<object size="15 72 184 100" type="button" style="ModernButtonRed">
|
|
<translatableAttribute id="caption">Reset Filters</translatableAttribute>
|
|
<action on="Press">resetFilters();</action>
|
|
</object>
|
|
|
|
<!-- Filter Panel -->
|
|
<object size="184 64 50% 98">
|
|
<object name="modGenericFilter"
|
|
type="input"
|
|
style="ModernInput"
|
|
size="10 100%-24 170 100%"
|
|
>
|
|
<action on="Press">applyFilters();</action>
|
|
<action on="TextEdit">applyFilters();</action>
|
|
</object>
|
|
|
|
<!-- Checkboxes -->
|
|
<object name="negateFilter"
|
|
type="checkbox"
|
|
checked="false"
|
|
style="ModernTickBox"
|
|
size="180 100%-24 200 100%"
|
|
font="serif-bold-13"
|
|
>
|
|
<action on="Press">applyFilters();</action>
|
|
</object>
|
|
<object type="text" size="202 100%-24 306 100%" text_align="left" textcolor="white">
|
|
<translatableAttribute id="caption">Negate</translatableAttribute>
|
|
</object>
|
|
</object>
|
|
|
|
<!-- Available Mods Wrapper -->
|
|
<object size="16 100 100%-15 75%-4" style="ModmodScrollbar">
|
|
|
|
<object style="ModernLabelText" type="text" size="0 5 100% 25">
|
|
<translatableAttribute id="caption">Available Mods</translatableAttribute>
|
|
</object>
|
|
|
|
<object name="modsDisabledList"
|
|
type="olist"
|
|
style="ModernSortedList"
|
|
sortable="true"
|
|
selected_column="name"
|
|
selected_column_order="1"
|
|
size="0 25 100%-2 100%"
|
|
font="sans-stroke-13"
|
|
>
|
|
<action on="SelectionChange">showModDescription(this.name);</action>
|
|
<action on="SelectionColumnChange">applyFilters();</action>
|
|
<action on="MouseLeftDoubleClickItem">enableMod();</action>
|
|
|
|
<!-- List headers -->
|
|
<column id="name" color="255 255 255" width="10%">
|
|
<translatableAttribute id="heading">Name</translatableAttribute>
|
|
</column>
|
|
<column id="version" color="255 255 255" width="7%">
|
|
<translatableAttribute id="heading">Version</translatableAttribute>
|
|
</column>
|
|
<column id="folder" color="255 255 255" width="13%">
|
|
<translatableAttribute id="heading">(Folder)</translatableAttribute>
|
|
</column>
|
|
<column id="label" color="255 255 255" width="26%">
|
|
<translatableAttribute id="heading">Mod Label</translatableAttribute>
|
|
</column>
|
|
<column id="dependencies" color="255 255 255" width="20%">
|
|
<translatableAttribute id="heading">Dependencies</translatableAttribute>
|
|
</column>
|
|
<column id="url" color="255 255 255" width="24%">
|
|
<translatableAttribute id="heading">Website</translatableAttribute>
|
|
</column>
|
|
</object>
|
|
<object name="globalModDescription" type="text" style="ModmodScrollbar" size="0 100%-28 100%-16 100%" textcolor="100 100 100">
|
|
<translatableAttribute id="caption">Description</translatableAttribute>
|
|
</object>
|
|
<object type="button" style="ModernButtonRed" size="100%-184-184-4 100%-28 100%-184-4 100%">
|
|
<translatableAttribute id="caption">Visit Website</translatableAttribute>
|
|
<action on="Press">visitModWebsite("modsDisabledList");</action>
|
|
</object>
|
|
<object type="button" style="ModernButtonRed" size="100%-184 100%-28 100% 100%">
|
|
<translatableAttribute id="caption">Enable</translatableAttribute>
|
|
<action on="Press">enableMod();</action>
|
|
</object>
|
|
</object>
|
|
|
|
<!-- Enabled Mods Wrapper -->
|
|
<object size="16 75% 100%-15 100%-50">
|
|
|
|
<object style="ModernLabelText" type="text" size="0 5 100% 25">
|
|
<translatableAttribute id="caption">Enabled Mods</translatableAttribute>
|
|
</object>
|
|
|
|
<object name="modsEnabledList"
|
|
style="ModernList"
|
|
type="olist"
|
|
size="0 25 96%-5 100%"
|
|
font="sans-stroke-13"
|
|
tooltip_style="pgToolTip"
|
|
>
|
|
<action on="SelectionChange">showModDescription(this.name);</action>
|
|
<action on="MouseLeftDoubleClickItem">disableMod();</action>
|
|
|
|
<!-- List headers -->
|
|
<column id="name" color="255 255 255" width="10%">
|
|
<translatableAttribute id="heading">Name</translatableAttribute>
|
|
</column>
|
|
<column id="version" color="255 255 255" width="7%">
|
|
<translatableAttribute id="heading">Version</translatableAttribute>
|
|
</column>
|
|
<column id="folder" color="255 255 255" width="13%">
|
|
<translatableAttribute id="heading">(Folder)</translatableAttribute>
|
|
</column>
|
|
<column id="label" color="255 255 255" width="26%">
|
|
<translatableAttribute id="heading">Mod Label</translatableAttribute>
|
|
</column>
|
|
<column id="dependencies" color="255 255 255" width="20%">
|
|
<translatableAttribute id="heading">Dependencies</translatableAttribute>
|
|
</column>
|
|
<column id="url" color="255 255 255" width="24%">
|
|
<translatableAttribute id="heading">Website</translatableAttribute>
|
|
</column>
|
|
</object>
|
|
|
|
<object type="button" style="ModernButtonRed" size="96% 23 100% 40%+12">
|
|
<translatableAttribute id="caption">Up</translatableAttribute>
|
|
<action on="Press">moveCurrItem("modsEnabledList", true);</action>
|
|
</object>
|
|
<object type="button" style="ModernButtonRed" size="96% 40%+12 100% 60%+10">
|
|
<translatableAttribute id="caption">X</translatableAttribute>
|
|
<action on="Press">disableMod();</action>
|
|
</object>
|
|
<object type="button" style="ModernButtonRed" size="96% 60%+10 100% 100%">
|
|
<translatableAttribute id="caption">Down</translatableAttribute>
|
|
<action on="Press">moveCurrItem("modsEnabledList", false);</action>
|
|
</object>
|
|
</object>
|
|
|
|
<!-- BUTTONS -->
|
|
<object name="quitButton" type="button" style="ModernButtonRed" size="100%-576-4-184 100%-44 100%-576-4 100%-16">
|
|
<translatableAttribute id="caption">Quit</translatableAttribute>
|
|
<action on="Press">Engine.Exit();</action>
|
|
</object>
|
|
|
|
<object name="cancelButton" type="button" style="ModernButtonRed" size="100%-576-4-184 100%-44 100%-576-4 100%-16" hotkey="cancel">
|
|
<translatableAttribute id="caption">Cancel</translatableAttribute>
|
|
<action on="Press">closePage();</action>
|
|
</object>
|
|
|
|
<object type="button" style="ModernButtonRed" size="100%-576 100%-44 100%-392 100%-16">
|
|
<translatableAttribute id="caption">Visit Website</translatableAttribute>
|
|
<action on="Press">visitModWebsite("modsEnabledList");</action>
|
|
</object>
|
|
|
|
<object name="saveConfigurationButton" type="button" style="ModernButtonRed" size="100%-388 100%-44 100%-204 100%-16">
|
|
<translatableAttribute id="caption">Save Configuration</translatableAttribute>
|
|
<action on="Press">saveMods();</action>
|
|
</object>
|
|
|
|
<object name="startModsButton" type="button" style="ModernButtonRed" size="100%-200 100%-44 100%-16 100%-16">
|
|
<translatableAttribute id="caption">Start Mods</translatableAttribute>
|
|
<action on="Press">startMods();</action>
|
|
</object>
|
|
</object>
|
|
</objects>
|