There are two ways to define the layout of the strips: You can define the position of each individual strip, or you can define a grid of strips. You can actually combine these approaches, as you can define multiple Strips or StripGrids. Why would you do this? Both to have exact positioning control and to determine how the strips are numbered.
Titlestrips are numbered in the order they are encountered in the skin file. For a grid, there is an Order setting to determine whether the strips are read horizontally or vertically.
So how does all this work in reality? Let's say you are using Double strips and have letters A-E and numbers 1-4 for selections. For some odd reason, let's say we've defined two individual strips, plus a 2x3 grid, followed by two more strips, laid out like this:
================ ==================
======STRIP1===== =======STRIP2======
================ ==================
================ =============== ================
===STRIPGRID3==== ===STRIPGRID3==== ===STRIPGRID3====
================ =============== ================
================ =============== ================
===STRIPGRID3==== ===STRIPGRID3==== ===STRIPGRID3====
================ =============== ================
================ ==================
======STRIP5===== =======STRIP4=====
================ ==================
Let's say StripGrid3 is set to Order=Vertical. So how will these strips end up being numbered?
=A1============= =A3===============
======STRIP1===== =======STRIP2======
=A2============= =A4===============
=B1============= =C1============ =D1=============
===STRIPGRID3==== ===STRIPGRID3==== ===STRIPGRID3====
=B2============= =C2============ =D2=============
=B3============= =C3============ =D3=============
===STRIPGRID3==== ===STRIPGRID3==== ===STRIPGRID3====
=B4============= =C4============ =D4=============
=E3============= =E1===============
======STRIP5===== =======STRIP4=====
=E4============= =E2===============
I can't imagine why anyone would set things up this way, but the flexibility is there.
So let's look at the actual definition. This skin uses a simple grid, so it's easy:
[StripGrid]
x=38
y=180
rows=4
cols=3
rowspace=8
colspace=43
order=Vertical
X and Y are the pixel locations of the upper left corner of the grid. Rows and Cols define how many rows and columns there are in the grid, Rowspace and Colspace are the number of pixels between rows and columns, and Order is the order in which the strips are numbered. If you leave out Rows, Cols, Rowspace, Colspace, and Order, you will define an individual strip.
Why is there no width and height for the individual strips? We already set that up back in the Titlestrips section.
If you had more Strips or StripGrids, you just number them: [Strip1], [StripGrid2], etc. The names Strip and StripGrid mean the same thing (thus you can't have both a Strip1 and a StripGrid1), it's just easier to use Strip if you mean only one strip as opposed to a grid.
Coming up next: defining on-screen buttons.