public interface ILcdGLEventListener
ILcdGLDrawable
Modifier and Type | Method and Description |
---|---|
void |
display(ILcdGLDrawable aDrawable)
Called by the ILcdGLDrawable when it requires repainting.
|
void |
dispose(ILcdGLDrawable aDrawable) |
void |
init(ILcdGLDrawable aDrawable)
Called by the ILcdGLDrawable after its OpenGL context has been
initialized.
|
default void |
postDisplay(ILcdGLDrawable aDrawable) |
default void |
preDisplay(ILcdGLDrawable aDrawable) |
void |
reshape(ILcdGLDrawable aDrawable,
int aX,
int aY,
int aWidth,
int aHeight)
Called by the ILcdGLDrawable when it has been resized.
|
void init(ILcdGLDrawable aDrawable)
aDrawable
- the ILcdGLDrawablevoid display(ILcdGLDrawable aDrawable)
aDrawable
- the ILcdGLDrawablevoid reshape(ILcdGLDrawable aDrawable, int aX, int aY, int aWidth, int aHeight)
aDrawable
- the ILcdGLDrawableaX
- the new X coordinate of the viewport's lower left corneraY
- the new Y coordinate of the viewport's lower left corneraWidth
- the new width of the viewportaHeight
- the new height of the viewportvoid dispose(ILcdGLDrawable aDrawable)
default void preDisplay(ILcdGLDrawable aDrawable)
default void postDisplay(ILcdGLDrawable aDrawable)