Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <library>
- <editor>
- <appliesto>game</appliesto>
- <tab>
- <caption>Interface</caption>
- <control>
- <controltype>checkbox</controltype>
- <caption>Enable Advanced UI Customization</caption>
- <attribute>customui</attribute>
- </control>
- </tab>
- <tab>
- <caption>Advanced</caption>
- <onlydisplayif>game.customui</onlydisplayif>
- <control>
- <controltype>title</controltype>
- <caption>Advanced UI Customization</caption>
- </control>
- <control>
- <controltype>label</controltype>
- <caption>Stylesheets:</caption>
- </control>
- <control>
- <!--Note: Type may not yet exist-->
- <controltype>stringlist</controltype>
- <!--Alternatively, textbox, but that would require that you alter
- the code in InitInterface to first split the titles from a string
- version of game.externalstylesheets and add a line to tell the
- user to split stylesheet filenames with ;-->
- <attribute>externalstylesheets</attribute>
- </control>
- <control>
- <controltype>label</controltype>
- <caption>HTML Template (filename):</caption>
- </control>
- <control>
- <controltype></controltype>
- <attribute>externalhtml</attribute>
- </control>
- <control>
- <controltype>checkbox</controltype>
- <caption>Use custom HTML selector IDs:</caption>
- <attribute>customSelectors</attribute>
- </control>
- <control>
- <controltype>label</controltype>
- <caption>HTML selector IDs:</caption>
- <onlydisplayif>game.customSelectors</onlydisplayif>
- </control>
- <control>
- <controltype>stringdictionary</controltype>
- <onlydisplayif>game.customSelectors</onlydisplayif>
- <attribute>htmlselectors</attribute>
- </control>
- </tab>
- </editor>
- </library>
- <!--Note: Should not be included with library-->
- <asl>
- <game>
- <externalstylesheets type="stringlist">
- <item>filename.css</item>
- </externalstylesheets>
- <externalhtml>filename.html</externalhtml>
- <customSelectors type="boolean">false</customSelectors>
- <htmlselectors type="stringdictionary">
- <item>
- <key>id/performed function</key>
- <value>id</value>
- </item>
- </htmlselectors>
- </game>
- </asl>
Advertisement
Add Comment
Please, Sign In to add comment