
nifty-gui text mouse input test
By: a guest on
Sep 1st, 2011 | syntax:
XML | size: 0.70 KB | views:
76 | expires: Never
<panel backgroundColor="#444444ff" width="100%" height="100%" childLayout="center" visibleToMouse="true">
<control name="label"
text="test text"
align="right"
valign="bottom"
backgroundColor="#550055ff">
<!-- This works on the empty space in the top right corner (instead of bottom right corner where label is).
<interact onClick="doStuff()" />-->
<effect>
<!-- This doesn't do anything from what I can see.
<onClick name="border" border="10px,10px,10px,10px" color="#ffff,#ffff,#ffff,#ffff" timeType="infinite" />-->
<!-- This is active for the entire panel instead of just the text.
<onClick name="nop" onStartEffect="doStuff()" /> -->
</effect>
</control>
</panel>