Browse Source

* 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 years ago
parent
commit
60633ac845
1 changed files with 18 additions and 0 deletions
  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>