Skin XML Config Files
#1
after doing the ntsc skin, i thought of one way that could speed up design.
having refrences to code that are repeated.
i like the way that everything can be changed, but i'd also like the option to set up parameters that can be refrenced.
eg.

refrences.xml

<ref>
<ref_id>1</ref_id>
<description>universal listcontrol</description>
<type>listcontrol</type>
<posx>210</posx>
<posy>80</posy>
<width>470</width>
<height>400</height>
<spinwidth>16</spinwidth>
<spinheight>16</spinheight>
<spinposx>645</spinposx>
<spinposy>438</spinposy>
<spincolor>ffffffff</spincolor>
<textureup>scroll-up.png</textureup>
<texturedown>scroll-down.png</texturedown>
<textureupfocus>scroll-up-focus.png</textureupfocus>
<texturedownfocus>scroll-down-focus.png</texturedownfocus>
<texturefocus>button-focus.png</texturefocus>
<texturenofocus>button-nofocus.jpg</texturenofocus>
<image>icon-folder.png</image>
<font>font13</font>
<selectedcolor>0xffff6600</selectedcolor>
<textcolor>0xffb2d4f5</textcolor>
<colordiffuse>ffffffff</colordiffuse>
<suffix>|</suffix>
</ref>

then in mymusic.xml and or mypictures.xml

<control>
<id>10</id>
<onleft>11</onleft>
<onright>11</onright>
<onup>2</onup>
<ondown>2</ondown>
<ref_id>1</ref_id>
</control>

this way you could still customize every control, or use the refrence.

steve
Reply
#2
i like this idea too. i also over the last week modified a handful of xmls for ntsc (i still have some more to go) but being able to reference the common tags would be a nice feature.
Reply
#3
i like the idea very much
so i started coding it. i hope to finish it in lets say 1 - 2 days

frodo
XBMC Project Founder (Retired), now head programmer of MediaPortal
Reply



Logout Mark Read Team Forum Stats Members Help
Skin XML Config Files0
This forum uses Lukasz Tkacz MyBB addons.