Cylius_Optimi

Quest Custom UI Suggeestion (Cylius Optimi)

Feb 18th, 2016
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.18 KB | None | 0 0
  1. <library>
  2.     <editor>
  3.         <appliesto>game</appliesto>
  4.         <tab>
  5.             <caption>Interface</caption>
  6.             <control>
  7.                 <controltype>checkbox</controltype>
  8.                 <caption>Enable Advanced UI Customization</caption>
  9.                 <attribute>customui</attribute>
  10.             </control>
  11.         </tab>
  12.        
  13.         <tab>
  14.             <caption>Advanced</caption>
  15.             <onlydisplayif>game.customui</onlydisplayif>
  16.            
  17.             <control>
  18.                 <controltype>title</controltype>
  19.                 <caption>Advanced UI Customization</caption>
  20.             </control>
  21.            
  22.             <control>
  23.                 <controltype>label</controltype>
  24.                 <caption>Stylesheets:</caption>
  25.             </control>
  26.             <control>
  27.                 <!--Note: Type may not yet exist-->
  28.                 <controltype>stringlist</controltype>
  29.                 <!--Alternatively, textbox, but that would require that you alter
  30.                 the code in InitInterface to first split the titles from a string
  31.                 version of game.externalstylesheets and add a line to tell the
  32.                 user to split stylesheet filenames with ;-->
  33.                 <attribute>externalstylesheets</attribute>
  34.             </control>
  35.            
  36.             <control>
  37.                 <controltype>label</controltype>
  38.                 <caption>HTML Template (filename):</caption>
  39.             </control>
  40.             <control>
  41.                 <controltype></controltype>
  42.                 <attribute>externalhtml</attribute>
  43.             </control>
  44.            
  45.             <control>
  46.                 <controltype>checkbox</controltype>
  47.                 <caption>Use custom HTML selector IDs:</caption>
  48.                 <attribute>customSelectors</attribute>
  49.             </control>
  50.            
  51.             <control>
  52.                 <controltype>label</controltype>
  53.                 <caption>HTML selector IDs:</caption>
  54.                 <onlydisplayif>game.customSelectors</onlydisplayif>
  55.             </control>
  56.             <control>
  57.                 <controltype>stringdictionary</controltype>
  58.                 <onlydisplayif>game.customSelectors</onlydisplayif>
  59.                 <attribute>htmlselectors</attribute>
  60.             </control>
  61.         </tab>
  62.     </editor>
  63. </library>
  64.  
  65. <!--Note: Should not be included with library-->
  66.  
  67. <asl>
  68.     <game>
  69.         <externalstylesheets type="stringlist">
  70.             <item>filename.css</item>
  71.         </externalstylesheets>
  72.         <externalhtml>filename.html</externalhtml>
  73.         <customSelectors type="boolean">false</customSelectors>
  74.         <htmlselectors type="stringdictionary">
  75.             <item>
  76.                 <key>id/performed function</key>
  77.                 <value>id</value>
  78.             </item>
  79.         </htmlselectors>
  80.     </game>
  81. </asl>
Advertisement
Add Comment
Please, Sign In to add comment