Variables

General variables

You should always append these customizable variables to ./@Resources/Vars.inc

[Variables]
Scale=
FontFace=
Pri_Color=
Text_Color=
Accent_Color=

You should always append these variables to the main skin file

[Variables]
W=([num]*#Scale#)        ; Width
H=([num]*#Scale#)        ; Height
P=([num]*#Scale#)        ; Padding
R=([num]*#Scale#)        ; Rounding

Custom skin dimensions

If you plan to allow users to set the skin's dimensions, you can:

[./@Resources/Vars.inc]
user.W=[num]
user.H=[num]
user.P=[num]
user.R=[num]


[Main.ini]
W=(user.W*#Scale#)
H=(user.H*#Scale#)
P=(user.P*#Scale#)
R=(user.R*#Scale#)

Last updated