A complete 3D game development suite written purely in Java.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
jmonkeyengine/sdk/jme3-gui/src/com/jme3/gde/gui/examples/01-button.xml

21 lines
999 B

<?xml version="1.0" encoding="UTF-8"?>
<nifty xmlns="http://nifty-gui.sourceforge.net/nifty-1.3.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://nifty-gui.sourceforge.net/nifty-1.3.xsd http://nifty-gui.sourceforge.net/nifty-1.3.xsd">
<useStyles filename="nifty-default-styles.xml" />
<useControls filename="nifty-default-controls.xml" />
<screen id="start">
<layer childLayout="center">
<panel width="25%" height="25%" align="center" valign="center" childLayout="vertical" backgroundColor="#55a5" padding="10">
<panel height="*" backgroundColor="#55aa" padding="10">
<!-- add your content here -->
</panel>
<panel height="10px" />
<panel height="21px" childLayout="horizontal">
<control id="buttonOk" name="button" label="OK" />
<panel width="*" />
<control id="buttonCancel" name="button" label="Cancel" />
</panel>
</panel>
</layer>
</screen>
</nifty>