Guys, , kindly I am asking for some more guide …
I would like to use includes.xml, but it doesnt work. I created a file named ” includes.xml in the 720p dir of my plugin (also tried the main dir of my plugin), with the following text:
<?xml version=”1.0″ encoding=”UTF-8″?>
<includes>
<include name=”whitetext”>
<textcolor>ff0f00ff</textcolor>
<posx>10</posx>
<top>250</top>
</include>
<include file=”listdefaults.xml” />
<include condition=”Skin.HasSetting(extras)” file=”includes_extras.xml” />
<default type=”button”>
<include>whitetext</include>
</default>
<constant name=”leftedge”>50</constant>
</includes>
I am trying to use it in one of my xmls in that way:
<control type=”label” id=”75″>
<include>whitetext</include>
<!–posx>10</posx>
<posy>67</posy–>
<width>150</width>
<height>40</height>
<!–textcolor>FFB2D4F5</textcolor–>
<focusedcolor>FFB2D4F5</focusedcolor>
<texturefocus>button-focus.png</texturefocus>
<texturenofocus>button-nofocus.png</texturenofocus>
<label>Selected Piece: </label>
<align>left</align>
</control>
I get this error:
23:38:25 T:16108 WARNING: CSkinInfo: failed to load skin settings
23:38:25 T:7068 WARNING: Skin has invalid include: whitetext
and it doesn’t affect the GUI ….
What am i doing wrong?