浏览代码

* Fixed crash in TestNiftyGui by moving hellojme.xml to test-data

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7574 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
sha..rd 14 年之前
父节点
当前提交
60633ac845
共有 1 个文件被更改,包括 18 次插入0 次删除
  1. 18 0
      engine/src/test-data/Interface/Nifty/HelloJme.xml

+ 18 - 0
engine/src/test-data/Interface/Nifty/HelloJme.xml

@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<nifty>
+  <screen id="start" controller="jme3test.niftygui.TestNiftyGui">
+    <layer id="layer" backgroundColor="#0000" childLayout="center">
+      <panel id="panel" height="25%" width="35%" align="center" valign="center" backgroundColor="#f60f" childLayout="center" visibleToMouse="true">
+        <interact onClick="quit()"/>
+        <effect>
+          <onStartScreen name="move" mode="in" direction="top" length="300" startDelay="0" inherit="true"/>
+          <onEndScreen name="move" mode="out" direction="bottom" length="300" startDelay="0" inherit="true"/>
+          <onHover name="pulsate" scaleFactor="0.008" startColor="#f600" endColor="#ffff" post="true"/>
+        </effect>
+        <text id="text" font="aurulent-sans-16.fnt" color="#000f" text="Hello from jME3" align="center" valign="center" />
+      </panel>
+    </layer>
+  </screen>
+  <screen id="end">
+  </screen>
+</nifty>