mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 22:41:49 +00:00
settings panel moved to xml (WIP)
This commit is contained in:
parent
7cb5b2eb70
commit
9cdf3ff016
33 changed files with 254 additions and 143 deletions
7
res/layouts/templates/track_setting.xml
Normal file
7
res/layouts/templates/track_setting.xml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<panel color='0' context='settings'>
|
||||
<label id='%{id}.L'>%{name}: %{value}%{postfix}</label>
|
||||
<trackbar
|
||||
value='%{value}' min='%{min}' max='%{max}'
|
||||
step='%{step}' track-width="%{track_width}"
|
||||
consumer='function(x) update_setting(x, "%{id}", "%{name}", "%{postfix}") end'/>
|
||||
</panel>
|
||||
Loading…
Add table
Add a link
Reference in a new issue