|
Inheritence from another skin
In your skin settings file (eg. ter.xml) you can specify a skin to 'inherit' from.
What this basically means is that you can use all the graphics from another skin, and only change the layout. This way, if you want to have a menubar on the right instead of the left, all you need to do is edit global panels.xml
So if you want a version of the 'Ter' skin with the menubar on the right, then all you need to do is create a new directory (call it ter_right) and create a file called ter_right.xml
All you need to put in this file is the following...
<?xml version="1.0" encoding="UTF-8"?>
< !DOCTYPE propertylist SYSTEM "http://www.sigames.com/dtds/propertylist.dtd">
<properties version="1.0">
< !-- skin details -->
<string id="name" value="Ter [Right)"/> < !-- the skin name -->
<string id="auth" value="Craig Hunter"/> < !-- the author name -->
<string id="desc" value="Ter skin, with menubar on the right"/> < !-- description -->
<double id="vers" value="1.0"/> < !-- version -->
<flags id="prnt" value="ter"/> < !-- parent command, to inherit from the 'ter' skin -->
</properties> |
|