Open main menu

Difference between revisions of "GUI Themes/Specs"

2 bytes added ,  12:45, 16 March 2023
→‎Resolution-dependent keys and layouts: >= and <= are now supported
m (Text replacement - "<source lang=" to "<syntaxhighlight lang=")
(→‎Resolution-dependent keys and layouts: >= and <= are now supported)
 
Line 131: Line 131:


/* Key will ONLY be loaded in resolutions with 400 width or more */
/* Key will ONLY be loaded in resolutions with 400 width or more */
<render_info resolution = 'y>399'>
<render_info resolution = 'y>=400'>


/* Key will ONLY be loaded in resolutions with less than 400 height */
/* Key will ONLY be loaded in resolutions with less than 400 height */
Line 141: Line 141:
<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
<def var = 'TestVar' value = '100'/>
<def var = 'TestVar' value = '100'/>
<def var = 'TestVar' value = '200' resolution = 'y>399'/>
<def var = 'TestVar' value = '200' resolution = 'y>=400'/>
</syntaxhighlight>
</syntaxhighlight>