ScarletNX / ScarletNX documentation / GUI launcher · ← previous · next →
[theme] format = N names the theme format a file was written for; this GUI's is 1
(GUI_THEME_FORMAT).
- A file of a format the GUI knows reads the same in it and in every later GUI: each key
keeps its meaning, and each value reads to the same theme.
- A new key, or a new word for a key, keeps N: an older GUI leaves what it does not know, and
a file that does not name it takes its base's value, so an older theme gets the new look of
the built-in it starts from (the title's size, the tips' box, the foot's boxes).
- A key a newer one replaces is deprecated, never given a new meaning: it still reads as the new keys say, and the
GUI never writes it again. The format has none so far.
- N goes up only when a key that exists has to mean something else. The GUI then reads the
older format's files with the older meaning.
- A file of a newer format than the GUI's: the keys it knows still apply, the others are left.
- The theme editor writes every key and the newest format it knows (
gui_theme_write), so its
files never lean on a built-in's values, which may change. It reads an older file as that
format reads, and writes it in the current one.
← previous · next →