
hint.hint.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"/> <screen id="start" controller="de.lessvoid.nifty.examples.hint.HintScreen"> <layer id="layer" childLayout="vertical"> <effect> <onActive name="gradient" direction="vertical"> <value offset="0%" color="#eeef"/> <value offset="100%" color="#999f"/> </onActive> </effect> <panel childLayout="horizontal" height="50%" width="100%" padding="50px"> <panel style="nifty-panel" height="100%" width="*" align="center" valign="center" childLayout="center" visibleToMouse="true"> <interact onClick="quit()"/> <effect> <onHover name="hint" hintText="style="nifty-panel" The standard Nifty Panel style. This style is resizable. It looks best for popups and dialogs that are bigger than about 200x200 pixel."/> </effect> <text font="aurulent-sans-16.fnt" color="#ffff" text="nifty-panel" align="center" valign="center"/> </panel> <panel width="50px"/> <panel style="nifty-panel-no-shadow" height="100%" width="*" align="center" valign="center" childLayout="center" visibleToMouse="true"> <interact onClick="quit()"/> <effect> <onHover name="hint" hintText="style="nifty-panel-no-shadow" This is the same style as "nifty-panel" but without the shadow."/> </effect> <text font="aurulent-sans-16.fnt" color="#ffff" text="nifty-panel-no-shadow" align="center" valign="center"/> </panel> <panel width="50px"/> <panel style="nifty-panel-simple" height="100%" width="*" align="center" valign="center" childLayout="center" visibleToMouse="true"> <interact onClick="quit()"/> <effect> <onHover name="hint" hintText="style="nifty-panel-simple" This is a simple grey style."/> </effect> <text font="aurulent-sans-16.fnt" color="#000f" text="nifty-panel-simple" align="center" valign="center"/> </panel> </panel> <panel childLayout="horizontal" height="50%" width="100%" padding="50px"> <panel style="nifty-panel-red" height="100%" width="*" align="center" valign="center" childLayout="center" visibleToMouse="true"> <interact onClick="quit()"/> <effect> <onHover name="hint" hintText="style="nifty-panel-red" The red style is used by the nifty- examples project for message dialog popups."/> </effect> <text font="aurulent-sans-16.fnt" color="#ffff" text="nifty-panel-red" align="center" valign="center"/> </panel> <panel width="50px"/> <panel style="nifty-panel-red-no-shadow" height="100%" width="*" align="center" valign="center" childLayout="center" visibleToMouse="true"> <interact onClick="quit()"/> <effect> <onHover name="hint" hintText="style="nifty-panel-red-no-shadow" Like the red style but again without the shadow."/> </effect> <text font="aurulent-sans-16.fnt" color="#ffff" text="nifty-panel-red-no-shadow" align="center" valign="center"/> </panel> <panel width="50px"/> <panel style="nifty-panel-bright" height="100%" width="*" align="center" valign="center" childLayout="center" visibleToMouse="true"> <interact onClick="quit()"/> <effect> <onHover name="hint" hintText="style="nifty-panel-bright" This style is used for hint effects but you can use it for panels too."/> </effect> <text font="aurulent-sans-16.fnt" color="#000f" text="nifty-panel-bright" align="center" valign="center"/> </panel> </panel> </layer> </screen> </nifty>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy