com.citra.common.gui
Class GUIFader
java.lang.Object
com.citra.common.gui.GUIFader
public class GUIFader
- extends Object
GUIFader is responsible for making menus to fade in when they first appear on screen.
GUIFader has an application-wide behaviour: once fading is enabled, it will work
on all popup menus.
The fading is controlled with GUIFader.setEnabled().
NOTE: On some computers, the fade in effect is not very smooth.
We hope to fix that in the future.
Method Summary |
static void |
setEnabled(boolean enable)
Sets the fading behaviour of menus. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
setEnabled
public static void setEnabled(boolean enable)
- Sets the fading behaviour of menus.
- Parameters:
enable
- set this to true to enable fading in popup menus, false otherwise.