
localize.localize.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nifty-examples Show documentation
Show all versions of nifty-examples Show documentation
Lots of Nifty example code! You can find the source for nearly all demos/tutorials in here.
<?xml version="1.0" encoding="UTF-8"?> <nifty xmlns="http://nifty-gui.lessvoid.com/nifty-gui"> <useStyles filename="nifty-default-styles.xml" /> <useControls filename="nifty-default-controls.xml" /> <registerMusic id="outro" filename="${PROP.credits}" /> <resourceBundle id="dialog" filename="localize/dialog" /> <screen id="start" controller="de.lessvoid.nifty.examples.localize.LocalizeTestScreen"> <layer id="stuff" childLayout="center"> <effect> <onActive name="playSound" sound="${CALL.sound()}" post="true" repeat="true" /> </effect> <panel height="50%" width="100%" childLayout="vertical" align="center" valign="center" backgroundColor="#800f"> <text font="menu.fnt" text="${dialog.hello}" align="center" valign="center" /> <text font="verdana-small-regular.fnt" text="\${ENV.HOME} test: your $HOME = "${ENV.HOME}"" align="center" valign="center" /> <text font="verdana-small-regular.fnt" text="\${PROP.java.library.path} test: java.library.path = "${PROP.java.library.path}"" align="center" valign="center" /> <text font="verdana-small-regular.fnt" text="\${PROP.void} test: custom property 'void' = "${PROP.void}"" align="center" valign="center" /> <text font="verdana-small-regular.fnt" text="\${CALL.method1()} test: method initializer = "${CALL.method1()}"" align="center" valign="center" /> <text font="verdana-small-regular.fnt" text="\${CALL.method2(:P)} test: method initializer = "${CALL.method2(:P)}"" align="center" valign="center" /> <text text="${dialog.hello}" font="verdana-small-regular.fnt" align="center" valign="center" hintText="${dialog.hello}" /> <control id="label" name="label" width="100%" backgroundColor="#0ff8" /> </panel> </layer> </screen> </nifty>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy