Want more features on Pastebin? Sign Up, it's FREE!
Guest

nifty-gui text mouse input test

By: a guest on Sep 1st, 2011  |  syntax: XML  |  size: 0.70 KB  |  views: 76  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <panel backgroundColor="#444444ff" width="100%" height="100%" childLayout="center" visibleToMouse="true">
  2.         <control name="label"
  3.                 text="test text"
  4.                 align="right"
  5.                 valign="bottom"
  6.                 backgroundColor="#550055ff">
  7.                 <!-- This works on the empty space in the top right corner (instead of bottom right corner where label is).
  8.                         <interact onClick="doStuff()" />-->
  9.                 <effect>
  10.                         <!-- This doesn't do anything from what I can see.
  11.                                 <onClick name="border" border="10px,10px,10px,10px" color="#ffff,#ffff,#ffff,#ffff" timeType="infinite" />-->
  12.                         <!-- This is active for the entire panel instead of just the text.
  13.                                 <onClick name="nop" onStartEffect="doStuff()" /> -->
  14.                 </effect>
  15.         </control>
  16. </panel>
clone this paste RAW Paste Data