mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-14 07:21:51 +00:00
controls panel moved to xml
This commit is contained in:
parent
0e69db13be
commit
7cb5b2eb70
8 changed files with 62 additions and 48 deletions
11
res/layouts/pages/controls.xml
Normal file
11
res/layouts/pages/controls.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<panel size='400' color='0' padding='8'>
|
||||
<label id='sensitivity_label'>-</label>
|
||||
<trackbar id='sensitivity_track'
|
||||
min='0.1' max='10' value='2' step='0.1' track-width='4'
|
||||
consumer='change_sensitivity'>
|
||||
</trackbar>
|
||||
<panel id='bindings_panel' size='380,200' padding='2' interval='1' max-length='400' color='#0000004C'>
|
||||
<!-- content is generated in script -->
|
||||
</panel>
|
||||
<button padding='10' onclick='menu:back()'>@Back</button>
|
||||
</panel>
|
||||
Loading…
Add table
Add a link
Reference in a new issue