git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8552 75d07b2b-3a1a-0410-a2c5-0572b91ccdca3.0
parent
fafd79e5d3
commit
d2c88f2ba2
@ -0,0 +1,21 @@ |
||||
<?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> |
@ -0,0 +1,13 @@ |
||||
<?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="50%" height="50%" align="center" valign="center" childLayout="vertical" backgroundColor="#55a5" padding="10"> |
||||
<control id="chatId" name="nifty-chat" width="100%" height="100%" lines="13" sendLabel="Send Message" /> |
||||
</panel> |
||||
</layer> |
||||
</screen> |
||||
</nifty> |
@ -0,0 +1,13 @@ |
||||
<?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="50%" height="50%" align="center" valign="center" childLayout="vertical" backgroundColor="#55a5" padding="10"> |
||||
<control id="simpleCheckBox" name="checkbox" checked="true" /> |
||||
</panel> |
||||
</layer> |
||||
</screen> |
||||
</nifty> |
@ -0,0 +1,11 @@ |
||||
<?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"> |
||||
<control id="console" width="50%" name="nifty-console" lines="25" align="center" valign="center" /> |
||||
</layer> |
||||
</screen> |
||||
</nifty> |
@ -0,0 +1,11 @@ |
||||
<?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"> |
||||
<control id="dropDown" width="50%" name="dropDown" align="center" valign="center" /> |
||||
</layer> |
||||
</screen> |
||||
</nifty> |
@ -0,0 +1,11 @@ |
||||
<?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"> |
||||
<control id="image-select" name="imageSelect" width="126px" imageWidth="80px" imageHeight="80px" imageList="defaultcontrolsxml/avatar1.png,defaultcontrolsxml/avatar2.png,defaultcontrolsxml/avatar3.png" /> |
||||
</layer> |
||||
</screen> |
||||
</nifty> |
@ -0,0 +1,11 @@ |
||||
<?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"> |
||||
<control name="label" text="hello world" align="center" valign="center" /> |
||||
</layer> |
||||
</screen> |
||||
</nifty> |
@ -0,0 +1,11 @@ |
||||
<?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"> |
||||
<control id="myListBox" width="50%" height="50%" align="center" valign="center" name="listBox" vertical="optional" horizontal="optional" displayItems="4" selection="Multiple" /> |
||||
</layer> |
||||
</screen> |
||||
</nifty> |
@ -0,0 +1,38 @@ |
||||
<?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 childLayout="horizontal" align="center" valign="center" width="50%" height="50%" backgroundColor="#55a5" padding="10"> |
||||
<control id="RadioGroup-1" name="radioButtonGroup" /> |
||||
<control name="label" text="Radio Buttons" /> |
||||
<panel width="10" /> |
||||
<panel childLayout="vertical" backgroundColor="#8001" paddingLeft="7px" paddingRight="7px" paddingTop="4px" paddingBottom="4px" width="105px"> |
||||
<effect> |
||||
<onActive name="border" color="#0008" /> |
||||
</effect> |
||||
<panel childLayout="horizontal"> |
||||
<control name="label" text="Option 1" with="60px" /> |
||||
<control name="radioButton" id="option-1" group="RadioGroup-1" /> |
||||
</panel> |
||||
<panel childLayout="horizontal"> |
||||
<control name="label" text="Option 2" with="60px" /> |
||||
<control name="radioButton" id="option-2" group="RadioGroup-1" /> |
||||
</panel> |
||||
<panel childLayout="horizontal"> |
||||
<control name="label" text="Option 3" with="60px" /> |
||||
<control name="radioButton" id="option-3" group="RadioGroup-1" /> |
||||
</panel> |
||||
<panel childLayout="horizontal"> |
||||
<control name="label" text="Option 4" with="60px" /> |
||||
<control name="radioButton" id="option-4" group="RadioGroup-1" /> |
||||
</panel> |
||||
</panel> |
||||
</panel> |
||||
</layer> |
||||
</screen> |
||||
</nifty> |
@ -0,0 +1,21 @@ |
||||
<?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 childLayout="horizontal" align="center" valign="center" width="50%" height="50%" backgroundColor="#55a5" padding="10"> |
||||
<!-- simple vertical scrollbar --> |
||||
<control name="verticalScrollbar" worldMax="1000.0" worldPageSize="100.0" initial="10.0" buttonStepSize="10.0" pageStepSize="100.0" /> |
||||
|
||||
<panel width="10px" /> |
||||
|
||||
<!-- simple horizontal scrollbar --> |
||||
<control name="horizontalScrollbar" worldMax="1000.0" worldPageSize="100.0" initial="10.0" buttonStepSize="10.0" pageStepSize="100.0" /> |
||||
</panel> |
||||
</layer> |
||||
</screen> |
||||
</nifty> |
@ -0,0 +1,29 @@ |
||||
<?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 childLayout="horizontal" align="center" valign="center" width="50%" height="50%" backgroundColor="#55a5" padding="10"> |
||||
<control id="scrollbarPanelId" name="scrollPanel" horizontal="true" height="100%" width="100%"> |
||||
<!-- first child is the content, the area to scroll around --> |
||||
<panel id="myScrollStuff" width="1000px" height="1000px" childLayout="vertical"> |
||||
<effect> |
||||
<onActive name="gradient" direction="vertical"> |
||||
<value offset="0%" color="#ffff" /> |
||||
<value offset="100%" color="#f00f" /> |
||||
</onActive> |
||||
<onActive name="gradient" direction="horizontal"> |
||||
<value offset="0%" color="#ffff" /> |
||||
<value offset="100%" color="#0f0f" /> |
||||
</onActive> |
||||
</effect> |
||||
</panel> |
||||
</control> |
||||
</panel> |
||||
</layer> |
||||
</screen> |
||||
</nifty> |
@ -0,0 +1,17 @@ |
||||
<?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 childLayout="horizontal" align="center" valign="center" width="50%" height="50%" backgroundColor="#55a5" padding="10"> |
||||
<control id="sliderV" name="verticalSlider" height="200px" /> |
||||
<panel width="10" /> |
||||
<control id="sliderH" name="horizontalSlider" width="200px" /> |
||||
</panel> |
||||
</layer> |
||||
</screen> |
||||
</nifty> |
@ -0,0 +1,15 @@ |
||||
<?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"> |
||||
<control name="textfield" /> |
||||
</panel> |
||||
</layer> |
||||
</screen> |
||||
</nifty> |
@ -0,0 +1,15 @@ |
||||
<?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 id="windows" childLayout="absolute"> |
||||
<control id="window-3" name="window" title="You can drag me around..." width="500px" height="400px" x="400px"> |
||||
<text text="I'm a window!" style="base-font" color="#eeef" valign="center" width="100%" /> |
||||
</control> |
||||
</layer> |
||||
</screen> |
||||
</nifty> |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 6.4 KiB |
After Width: | Height: | Size: 8.2 KiB |
Loading…
Reference in new issue