mirror of
https://github.com/Gongxh0901/kunpolibrary
synced 2025-10-30 10:55:40 +00:00
仓库中添加内置的demo
This commit is contained in:
27
demo/FguiCreator3.8/assets/Basics/window/AlertWindow.xml
Normal file
27
demo/FguiCreator3.8/assets/Basics/window/AlertWindow.xml
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<component size="750,1334" pivot="0.5,0.5" designImageAlpha="30" designImageLayer="1">
|
||||
<displayList>
|
||||
<graph id="n0_eqwn" name="bg" xy="36,416" size="678,500" type="rect" lineSize="3" fillColor="#ff999999" corner="20">
|
||||
<relation target="" sidePair="center-center,middle-middle"/>
|
||||
<relation target="n4_eqwn" sidePair="height-height"/>
|
||||
</graph>
|
||||
<component id="n3_eqwn" name="btn_close" src="ukhni" fileName="btns/btn_close.xml" xy="626,394">
|
||||
<relation target="n0_eqwn" sidePair="right-right,top-top"/>
|
||||
</component>
|
||||
<component id="n10_jtaa" name="btn_cancel" src="kofe0" fileName="btns/button1.xml" xy="211,802">
|
||||
<relation target="n0_eqwn" sidePair="center-center,bottom-bottom"/>
|
||||
</component>
|
||||
<component id="n9_kjg6" name="btn_ok" src="kofe0" fileName="btns/button1.xml" xy="433,802" size="126,73">
|
||||
<relation target="n0_eqwn" sidePair="center-center,bottom-bottom"/>
|
||||
</component>
|
||||
<text id="n2_eqwn" name="lab_title" xy="375,471" pivot="0.5,0.5" anchor="true" size="210,64" fontSize="48" color="#ffffff" align="center" vAlign="middle" autoSize="shrink" strokeColor="#000000" strokeSize="2" shadowColor="#000000" shadowOffset="0,3" singleLine="true" text="标题">
|
||||
<relation target="n0_eqwn" sidePair="center-center,top-top"/>
|
||||
</text>
|
||||
<text id="n4_eqwn" name="lab_content" xy="85,571" size="580,157" fontSize="36" color="#ffffff" align="center" vAlign="middle" leading="10" letterSpacing="2" autoSize="height" strokeColor="#000000" strokeSize="2" shadowColor="#000000" shadowOffset="0,2" text="这是描述内容这是描述内容这是描述内容这是描述内容这是描述内容描述内容描述内容">
|
||||
<relation target="n0_eqwn" sidePair="center-center,middle-middle"/>
|
||||
</text>
|
||||
</displayList>
|
||||
<transition name="open" options="2" autoPlay="true" frameRate="30">
|
||||
<item time="0" type="Scale" tween="true" startValue="0,0" endValue="1,1" duration="9" ease="Back.Out"/>
|
||||
</transition>
|
||||
</component>
|
||||
11
demo/FguiCreator3.8/assets/Basics/window/ToastWindow.xml
Normal file
11
demo/FguiCreator3.8/assets/Basics/window/ToastWindow.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<component size="750,1334">
|
||||
<displayList>
|
||||
<image id="n2_q3s0" name="bgMask" src="gukgn" fileName="image/image_black.png" xy="0,0" size="750,1334" alpha="0.8">
|
||||
<relation target="" sidePair="width-width,height-height,center-center,middle-middle"/>
|
||||
</image>
|
||||
<component id="n1_e679" name="toast" src="gukgm" fileName="window/toast/toast.xml" xy="0,402" touchable="false">
|
||||
<relation target="" sidePair="center-center,middle-middle"/>
|
||||
</component>
|
||||
</displayList>
|
||||
</component>
|
||||
BIN
demo/FguiCreator3.8/assets/Basics/window/toast/image_toastbg.png
Normal file
BIN
demo/FguiCreator3.8/assets/Basics/window/toast/image_toastbg.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 20 KiB |
19
demo/FguiCreator3.8/assets/Basics/window/toast/toast.xml
Normal file
19
demo/FguiCreator3.8/assets/Basics/window/toast/toast.xml
Normal file
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<component size="750,87">
|
||||
<displayList>
|
||||
<image id="n1_e679" name="bg" src="gukgl" fileName="window/toast/image_toastbg.png" xy="2,8" size="746,85">
|
||||
<relation target="n0_8ej8" sidePair="height-height,center-center,middle-middle"/>
|
||||
</image>
|
||||
<text id="n0_8ej8" name="labTips" xy="275,22" size="200,42" fontSize="30" color="#ffd953" align="center" vAlign="middle" leading="10" text="toast提示文本">
|
||||
<relation target="" sidePair="center-center,middle-middle"/>
|
||||
</text>
|
||||
</displayList>
|
||||
<transition name="hide" options="2" frameRate="30">
|
||||
<item time="0" type="Alpha" tween="true" startValue="1" endValue="0" duration="6" ease="Linear"/>
|
||||
<item time="0" type="XY" target="n0_8ej8" tween="true" startValue="-,15" endValue="-,-30" duration="6" ease="Linear"/>
|
||||
</transition>
|
||||
<transition name="show" options="2" frameRate="30">
|
||||
<item time="0" type="Alpha" tween="true" startValue="0" endValue="1" duration="3" ease="Linear"/>
|
||||
<item time="0" type="XY" target="n0_8ej8" value="-,15"/>
|
||||
</transition>
|
||||
</component>
|
||||
Reference in New Issue
Block a user