dongliru1 4 月之前
父节点
当前提交
7f1aae72e3
共有 2 个文件被更改,包括 20 次插入0 次删除
  1. 19 0
      fl-fgui-project/assets/Bag/Button1.xml
  2. 1 0
      fl-fgui-project/assets/Bag/package.xml

+ 19 - 0
fl-fgui-project/assets/Bag/Button1.xml

@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<component size="100,20" extention="Button">
+  <Button/>
+  <controller name="button" pages="0,up,1,down,2,over,3,selectedOver"/>
+  <displayList>
+    <graph id="n0_kasa" 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_kasa" 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_kasa" 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>
+  </displayList>
+</component>

+ 1 - 0
fl-fgui-project/assets/Bag/package.xml

@@ -36,6 +36,7 @@
     <image id="oe3g1g" name="Touxiangkuang.png" path="/images/"/>
     <component id="m39r1h" name="ShopButton.xml" path="/"/>
     <component id="f3ph1i" name="Component1.xml" path="/"/>
+    <component id="kasa1k" name="Button1.xml" path="/"/>
   </resources>
   <publish name="Bag" excluded="oe3g1e,oe3gl,oe3g1f">
     <atlas name="Default" index="0"/>