Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/summary/summary.xml
<?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||||
<objects> | <objects> | ||||
<script file="gui/common/functions_global_object.js"/> | <script file="gui/common/functions_global_object.js"/> | ||||
<script file="gui/common/functions_civinfo.js"/> | <script file="gui/common/functions_civinfo.js"/> | ||||
<script file="gui/common/functions_utility.js"/> | <script file="gui/common/functions_utility.js"/> | ||||
<script file="gui/common/settings.js"/> | <script file="gui/common/settings.js"/> | ||||
<!-- After settings.js, which defines g_Settings and g_MaxPlayers. --> | <!-- After settings.js, which defines g_Settings and g_MaxPlayers. --> | ||||
<script file="gui/summary/counters.js"/> | <script file="gui/summary/counters.js"/> | ||||
<script file="gui/summary/summary.js"/> | <script file="gui/summary/summary.js"/> | ||||
<!-- Needs the colors from summary.js --> | <!-- Needs the colors from summary.js --> | ||||
<script file="gui/summary/layout.js"/> | <script file="gui/summary/layout.js"/> | ||||
elexis: same (directory includes and these includes not shoulding having beeing here).
Wait, this… | |||||
Not Done Inline ActionsNot sure what you mean here? wraitii: Not sure what you mean here?
This is so Summary.xml brings you back to the campaign interface. | |||||
Not Done Inline Actionsgui/common/ or gui/campaign/common/. elexis: `gui/common/` or `gui/campaign/common/`.
(Heads up: `any/common/` (by definition) should not… | |||||
<!-- Load the campaign screen if this was a campaign --> | |||||
<script file="gui/campaign/campaign.js"/> | |||||
<script file="gui/campaign/campaign_io.js"/> | |||||
<object name="summaryWindow" | <object name="summaryWindow" | ||||
type="image" | type="image" | ||||
style="ModernWindow" | style="ModernWindow" | ||||
size="0 0 100% 100%" | size="0 0 100% 100%" | ||||
> | > | ||||
<object style="ModernLabelText" type="text" size="50%-128 4 50%+128 36"> | <object style="ModernLabelText" type="text" size="50%-128 4 50%+128 36"> | ||||
<translatableAttribute id="caption">Summary</translatableAttribute> | <translatableAttribute id="caption">Summary</translatableAttribute> | ||||
</object> | </object> | ||||
▲ Show 20 Lines • Show All 142 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator
same (directory includes and these includes not shoulding having beeing here).
Wait, this should display a different GUI page if a condition is met? Then the page shouldn't be opened to begin with