Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/session/tutorial_panel.xml
- This file was added.
Property | Old Value | New Value |
---|---|---|
svn:eol-style | null | native \ No newline at end of property |
<?xml version="1.0" encoding="utf-8"?> | |||||
<object name="tutorialPanel" type="image" sprite="ModernFade" size="50%-300 38 50%+300 350" hidden="true"> | |||||
<object size="10 10 100%-20 100%-48"> | |||||
<object name="tutorialText" type="text" style="TutorialPanel"/> | |||||
</object> | |||||
<object name="tutorialWarning" type="text" style="ModernLeftLabelText" size="10 100%-40 100%-180 100%-12"/> | |||||
<object name="tutorialReady" type="button" style="ModernButtonRed" size="100%-160 100%-40 100%-20 100%-12"> | |||||
<translatableAttribute id="caption">Ready</translatableAttribute> | |||||
<action on="Press">Engine.PostNetworkCommand({"type": "dialog-answer", "tutorial": "ready"});</action> | |||||
</object> | |||||
elexis: Might be nice to have the caption and onPress all in the same place in JS instead of 50% in the… | |||||
Not Done Inline ActionsI think it is fine to have invariable properties in xml, and variable ones in js. mimo: I think it is fine to have invariable properties in xml, and variable ones in js. | |||||
Not Done Inline Actions(These are not invariable since they are changed in JS) elexis: (These are not invariable since they are changed in JS) | |||||
</object> |
Wildfire Games · Phabricator
Might be nice to have the caption and onPress all in the same place in JS instead of 50% in the XML and 50% in JS