sdljavax.gui
public class Button extends Widget
Button here.
Version: $Id: Button.java,v 1.2 2005/01/31 03:16:55 ivan_ganza Exp $
| Field Summary | |
|---|---|
| protected Texture | selectedTexture |
| protected Texture | unSelectedTexture |
| Constructor Summary | |
|---|---|
| Button(GL gl, String name, SDLRect dimensions, String unSelectedTexturePath, String selectedTexturePath) | |
| Method Summary | |
|---|---|
| void | draw(GL gl, int x, int y) |
| void | handleEvent(SDLEvent event) |
| void | mouseEntered() |
| void | mouseExit() |