Skin XML Config Files - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Discussions (https://forum.kodi.tv/forumdisplay.php?fid=222) +--- Forum: Feature Requests (https://forum.kodi.tv/forumdisplay.php?fid=9) +--- Thread: Skin XML Config Files (/showthread.php?tid=94) |
- scross28 - 2003-10-07 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 - SteveX - 2003-10-07 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. - Frodo - 2003-10-16 i like the idea very much so i started coding it. i hope to finish it in lets say 1 - 2 days frodo |