Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/campaign/simple_setup/campaignsetup.xml
- This file was added.
<?xml version="1.0" encoding="utf-8"?> | |||||
<objects> | |||||
<!-- Used to display game info. --> | |||||
<script file="gui/common/color.js" /> | |||||
<script file="gui/common/functions_civinfo.js" /> | |||||
<script file="gui/common/functions_utility.js" /> | |||||
<script file="gui/common/gamedescription.js"/> | |||||
elexis: directory includes. (And I even against the complaints say it helps mods, not break them as… | |||||
<script file="gui/common/settings.js" /> | |||||
<!-- Used to display message boxes. --> | |||||
<script file="gui/common/functions_global_object.js" /> | |||||
<!-- Used for engine + mod version checks and deleteTooltip. --> | |||||
<script file="gui/common/functions_utility_loadsave.js" /> | |||||
<script file="gui/campaign/campaign_io.js" /> | |||||
<script file="gui/campaign/simple_setup/campaignsetup.js" /> | |||||
<!-- Everything displayed in the campaign menu. --> | |||||
<object type="image" style="ModernWindow" size="0 0 100% 100%" name="campaignWindow"> | |||||
<!-- Title --> | |||||
<object style="ModernLabelText" type="text" size="50%-128 4 50%+128 36"> | |||||
<translatableAttribute id="caption">Campaigns</translatableAttribute> | |||||
</object> | |||||
<object name="leftPanel" size="30 50 100%-515 100%-80"> | |||||
<!-- List of campaigns --> | |||||
<object name="campaignSelection" | |||||
size="0 0 100% 100%" | |||||
style="ModernList" | |||||
type="olist" | |||||
sortable="true" | |||||
selected_column="name" | |||||
selected_column_order="-1" | |||||
sprite_asc="ModernArrowDown" | |||||
sprite_desc="ModernArrowUp" | |||||
sprite_not_sorted="ModernNotSorted" | |||||
font="sans-stroke-16" | |||||
> | |||||
<action on="SelectionChange">displayCampaignDetails();</action> | |||||
<!--<action on="SelectionColumnChange">displayReplayList();</action>--> | |||||
<action on="mouseleftdoubleclickitem">startCampaign();</action> | |||||
<column id="name" color="172 172 212" width="99%"> | |||||
<translatableAttribute id="heading" context="campaignsetup">Name</translatableAttribute> | |||||
Done Inline ActionsCampaign elexis: Campaign | |||||
</column> | |||||
</object> | |||||
</object> | |||||
<object name="rightPanel" size="100%-485 50 100%-30 100%-80"> | |||||
<object type="image" sprite="ModernDarkBoxGold" size="0 0 100% 342"> | |||||
<object name="CampaignImage" type="image" sprite="snCampaignImage" size="1 1 100%-1 100%-1"> | |||||
</object> | |||||
</object> | |||||
<object type="text" name="CampaignTitle" style="CampaignNameText" size="0 360 100% 390"> | |||||
<translatableAttribute id="caption">No campaign selected</translatableAttribute> | |||||
</object> | |||||
<object type="image" sprite="ModernDarkBoxGold" name="campaignDescBox" size="0 400 100% 100%-50" hidden="false"> | |||||
<object type="text" name="campaignDesc" style="LeftButtonText" font="sans-16" size="10 10 100%-10 100%-10"> | |||||
</object> | |||||
</object> | |||||
<object type="button" name="campaignOptionsButton" style="ModernButtonRed" size="100%-140 100%-30 100% 100%-0" enabled="false"> | |||||
<translatableAttribute id="caption">Options</translatableAttribute> | |||||
</object> | |||||
</object> | |||||
</object> | |||||
<object name="bottomPanel" size="25 100%-55 100%-5 100%-25" > | |||||
<!-- Main Menu Button --> | |||||
<object type="button" style="StoneButton" size="25 0 17%+25 100%"> | |||||
<translatableAttribute id="caption">Main Menu</translatableAttribute> | |||||
<action on="Press">Engine.SwitchGuiPage("page_pregame.xml");</action> | |||||
</object> | |||||
<!-- Start Campaign Button --> | |||||
<object name="startCampButton" type="button" style="StoneButtonFancy" size="83%-25 0 100%-25 100%" enabled="false"> | |||||
<translatableAttribute id="caption">Start Campaign</translatableAttribute> | |||||
<action on="Press">startCampaign();</action> | |||||
</object> | |||||
</object> | |||||
</objects> |
Wildfire Games · Phabricator
directory includes. (And I even against the complaints say it helps mods, not break them as they don't have to copy the XML file to add an include.)