添加按键绑定设置相关ui

This commit is contained in:
bob
2025-06-10 18:18:15 +08:00
parent 9963e4a51e
commit 5996d3563c
12 changed files with 31 additions and 140 deletions

View File

@@ -4,7 +4,7 @@
<graph id="n0_e9z8" name="n0" xy="0,0" size="50,5" type="rect" lineSize="0" lineColor="#ffa0a0a0" fillColor="#ff5c748b">
<relation target="" sidePair="width-width,height-height"/>
</graph>
<graph id="n1_e9z8" name="bar" xy="0,0" size="50,5" type="rect" lineSize="0" fillColor="#ff8bf3ff"/>
<graph id="n1_e9z8" name="bar" xy="0,0" size="50,5" type="rect" lineSize="0" fillColor="#ffcbcbcb"/>
<component id="n2_e9z8" name="grip" src="e9z8k3" fileName="Com/Slider/Slider1_grip.xml" xy="45,-12">
<relation target="n1_e9z8" sidePair="right-right"/>
</component>

View File

@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<component size="10,30" extention="Button">
<controller name="button" pages="0,up,1,down,2,over,3,selectedOver" selected="2"/>
<controller name="button" pages="0,up,1,down,2,over,3,selectedOver" selected="0"/>
<displayList>
<graph id="n0_e9z8" name="n0" xy="0,0" size="10,30" touchable="false" type="rect" lineSize="0" fillColor="#ff8bf3ff">
<graph id="n0_e9z8" name="n0" xy="0,0" size="10,30" touchable="false" type="rect" lineSize="0" fillColor="#ffcbcbcb">
<relation target="" sidePair="width-width,height-height"/>
</graph>
<graph id="n3_e9z8" name="n3" xy="0,0" size="10,30" touchable="false" type="rect" lineSize="0" fillColor="#ffd8fbff">
<graph id="n3_e9z8" name="n3" xy="0,0" size="10,30" touchable="false" type="rect" lineSize="0">
<gearDisplay controller="button" pages="1,3"/>
<relation target="" sidePair="width-width,height-height"/>
</graph>