仓库中添加内置的demo

This commit is contained in:
gongxh
2025-07-28 14:26:19 +08:00
parent 43446f031d
commit 65be0498cc
414 changed files with 14456 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<component size="100,20" extention="ComboBox">
<ComboBox dropdown="ui://mkwn34a7kofe6"/>
<controller name="button" pages="0,up,1,down,2,over,3,selectedOver"/>
<displayList>
<graph id="n0_kofe" name="n0" xy="0,0" size="100,20" type="rect" lineSize="0" fillColor="#F0F0F0" touchable="false">
<gearDisplay controller="button" pages="0"/>
<relation target="" sidePair="width,height"/>
</graph>
<graph id="n1_kofe" name="n1" xy="0,0" size="100,20" type="rect" lineSize="0" fillColor="#FAFAFA" touchable="false">
<gearDisplay controller="button" pages="2"/>
<relation target="" sidePair="width,height"/>
</graph>
<graph id="n2_kofe" name="n2" xy="0,0" size="100,20" type="rect" lineSize="0" fillColor="#CCCCCC" touchable="false">
<gearDisplay controller="button" pages="1,3"/>
<relation target="" sidePair="width,height"/>
</graph>
<text id="n3_kofe" name="title" xy="0,0" size="80,20" fontSize="12" autoSize="none" vAlign="middle" singleLine="true">
<relation target="" sidePair="width,height"/>
</text>
</displayList>
</component>

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<component size="100,20" extention="Button">
<Button mode="Radio"/>
<controller name="button" pages="0,up,1,down,2,over,3,selectedOver"/>
<displayList>
<graph id="n0_kofe" name="n0" xy="0,0" size="100,20" type="rect" lineSize="0" fillColor="#3399FF" touchable="false">
<gearDisplay controller="button" pages="2"/>
<relation target="" sidePair="width,height"/>
</graph>
<graph id="n1_kofe" name="n1" xy="0,0" size="100,20" type="rect" lineSize="0" fillColor="#CCCCCC" touchable="false">
<gearDisplay controller="button" pages="1,3"/>
<relation target="" sidePair="width,height"/>
</graph>
<text id="n2_kofe" name="title" xy="0,0" size="100,20" fontSize="12" autoSize="none" vAlign="middle" singleLine="true">
<relation target="" sidePair="width,height"/>
</text>
</displayList>
</component>

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<component size="150,200">
<displayList>
<graph id="n0_kofe" name="n0" xy="0,0" size="150,200" type="rect" lineSize="1" lineColor="#A0A0A0" fillColor="#F0F0F0" touchable="false">
<relation target="" sidePair="width,height"/>
</graph>
<list id="n1_kofe" name="list" xy="0,0" size="150,200" overflow="scroll" defaultItem="ui://mkwn34a7kofe5">
<relation target="" sidePair="width"/>
</list>
</displayList>
<relation target="n1_kofe" sidePair="height"/>
</component>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<component size="400,400" extention="Label">
<Label/>
<displayList>
<text id="n0_kofe" name="title" xy="0,0" size="400,400" fontSize="12" autoSize="none" align="center" vAlign="middle" singleLine="true">
<relation target="" sidePair="width,height"/>
</text>
</displayList>
</component>

Binary file not shown.

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<component size="50,10" extention="ProgressBar">
<ProgressBar/>
<displayList>
<graph id="n0_kofe" name="n0" xy="0,0" size="50,10" type="rect" lineSize="1" lineColor="#A0A0A0" fillColor="#F0F0F0">
<relation target="" sidePair="width,height"/>
</graph>
<graph id="n1_kofe" name="bar" xy="0,3" size="50,4" type="rect" lineSize="0" fillColor="#3399FF"/>
</displayList>
</component>

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<component size="50,10" extention="Slider">
<Slider/>
<displayList>
<graph id="n0_kofe" name="n0" xy="0,0" size="50,10" type="rect" lineSize="1" lineColor="#A0A0A0" fillColor="#F0F0F0">
<relation target="" sidePair="width,height"/>
</graph>
<graph id="n1_kofe" name="bar" xy="5,3" size="40,4" type="rect" lineSize="0" fillColor="#3399FF"/>
<component id="n2_kofe" name="grip" xy="40,-5" src="kofe2">
<relation target="n1_kofe" sidePair="right-right"/>
</component>
</displayList>
</component>

View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<component size="10,19" extention="Button">
<Button/>
<controller name="button" pages="0,up,1,down,2,over,3,selectedOver"/>
<displayList>
<graph id="n0_kofe" name="n0" xy="0,0" size="10,19" type="rect" lineSize="0" fillColor="#F0F0F0" touchable="false">
<gearDisplay controller="button" pages="0"/>
<relation target="" sidePair="width,height"/>
</graph>
<graph id="n1_kofe" name="n1" xy="0,0" size="10,19" type="rect" lineSize="0" fillColor="#FAFAFA" touchable="false">
<gearDisplay controller="button" pages="2"/>
<relation target="" sidePair="width,height"/>
</graph>
<graph id="n2_kofe" name="n2" xy="0,0" size="10,19" type="rect" lineSize="0" fillColor="#CCCCCC" touchable="false">
<gearDisplay controller="button" pages="1,3"/>
<relation target="" sidePair="width,height"/>
</graph>
</displayList>
</component>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<component size="103,101" pivot="0.5,0.5" extention="Button">
<controller name="button" pages="0,up,1,down" selected="0"/>
<displayList>
<image id="n0_fnoh" name="n0" src="ukhnj" fileName="button/image_button_close.png" xy="0,0">
<relation target="" sidePair="width-width,height-height"/>
</image>
</displayList>
<Button downEffect="scale" downEffectValue=".95"/>
</component>

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<component size="126,73" pivot="0.5,0.5" extention="Button">
<controller name="button" pages="0,up,1,down" selected="0"/>
<displayList>
<image id="n0_zmnj" name="n0" src="kofe1" fileName="btns/image_button1.png" xy="0,0" size="126,73">
<relation target="" sidePair="width-width,height-height"/>
</image>
<text id="n2_zmnj" name="title" xy="27,11" size="72,46" fontSize="34" color="#ffffff" align="center" vAlign="middle" strokeColor="#000000" strokeSize="3" text="文本">
<relation target="" sidePair="center-center,middle-middle"/>
</text>
</displayList>
<Button downEffect="scale" downEffectValue=".95"/>
</component>

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB