Re: Simple example with Nifty
Posted by
elect on
Nov 08, 2013; 3:47pm
URL: https://forum.jogamp.org/Simple-example-with-Nifty-tp4030529p4030541.html
I think void256 is really behind with the documentation, I am not blaming, I cannot even image how much work doing such a tool requires, so I totally understand the lack of updated documentation (really boring duty after you spent a lot of effort on cool stuffs)
Based on his own words, although the stable version seems to be the 1.4, he says the best source of documentation is the 1.3.2 manual
http://stackoverflow.com/questions/19092658/most-recent-nifty-gui-initializationSaid that, copying the helloword.xml from there works like a charm
<?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://niftygui.
sourceforge.net/nifty-1.3.xsd
http://nifty-gui.sourceforge.net/nifty-1.3.xsd"> <screen id="start">
<layer childLayout="center">
<text font="aurulent-sans-16.fnt" color="#ffff"
text="Hello World!" />
</layer>
</screen>
</nifty>
Then I think I will go digging that manual ^^