Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/civinfo/civinfo.xml
<?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||||
<objects> | <objects> | ||||
<script directory="gui/common/"/> | <script directory="gui/common/"/> | ||||
<script directory="gui/civinfo/"/> | <script directory="gui/civinfo/"/> | ||||
elexis: I'd prefer not including single files but keeping the directory structures in a way that allows… | |||||
Not Done Inline ActionsYes, I delete and use popGuiPageCB() directly in close function. ffffffff: Yes, I delete and use popGuiPageCB() directly in close function. | |||||
<object hotkey="civinfo"> | |||||
<action on="Press"> | |||||
close(); | |||||
</action> | |||||
</object> | |||||
<!-- Add a translucent black background to fade out the menu page --> | <!-- Add a translucent black background to fade out the menu page --> | ||||
<object type="image" z="0" sprite="BackgroundTranslucent"/> | <object type="image" z="0" sprite="BackgroundTranslucent"/> | ||||
<object type="image" style="ModernDialog" size="50%-500 50%-368 50%+500 50%+370"> | <object type="image" style="ModernDialog" size="50%-500 50%-368 50%+500 50%+370"> | ||||
<object style="TitleText" type="text" size="50%-128 -18 50%+128 14"> | <object style="TitleText" type="text" size="50%-128 -18 50%+128 14"> | ||||
<translatableAttribute id="caption">Civilizations</translatableAttribute> | <translatableAttribute id="caption">Civilizations</translatableAttribute> | ||||
</object> | </object> | ||||
▲ Show 20 Lines • Show All 87 Lines • ▼ Show 20 Lines | <object size="25 65% 100%-25 100%-56"> | ||||
textcolor="white" | textcolor="white" | ||||
text_align="left" | text_align="left" | ||||
size="10 0 100% 100%" | size="10 0 100% 100%" | ||||
/> | /> | ||||
</object> | </object> | ||||
</object> | </object> | ||||
<!-- Structure tree page --> | |||||
<object | |||||
type="button" | |||||
style="StoneButton" | |||||
size="100%-309 100%-52 100%-169 100%-24" | |||||
name="structreeButton" | |||||
hotkey="structree" | |||||
> | |||||
<translatableAttribute id="caption">Structure Tree</translatableAttribute> | |||||
<action on="Press">switchToStrucTreePage();</action> | |||||
</object> | |||||
Not Done Inline Actions\n s0600204: \n | |||||
<!-- Close dialog --> | |||||
<object | <object | ||||
type="button" | type="button" | ||||
style="StoneButton" | style="StoneButton" | ||||
size="100%-164 100%-52 100%-24 100%-24" | size="100%-164 100%-52 100%-24 100%-24" | ||||
name="close" | |||||
hotkey="cancel" | hotkey="cancel" | ||||
> | > | ||||
<translatableAttribute id="caption">Close</translatableAttribute> | <translatableAttribute id="caption">Close</translatableAttribute> | ||||
<action on="Press"> | <action on="Press"> | ||||
<![CDATA[ | close(); | ||||
Not Done Inline ActionsCan lose the <![CDATA[ (and ]]> below) Ditto for other files. s0600204: Can lose the `<![CDATA[` (and `]]>` below)
Ditto for other files. | |||||
Engine.PopGuiPage(); | |||||
]]> | |||||
</action> | </action> | ||||
</object> | </object> | ||||
</object> | </object> | ||||
</objects> | </objects> |
Wildfire Games · Phabricator
I'd prefer not including single files but keeping the directory structures in a way that allows us to only include entire directories or nothing.
What is the include used for?