sdljava.event
public class SDLResizeEvent extends SDLEvent
When SDL_RESIZABLE is passed as a flag to SDL_SetVideoMode the user is allowed to resize the applications window. When the window is resized an SDL_VIDEORESIZE is reported, with the new window width and height values stored in w and h respectively. When an SDL_VIDEORESIZE is recieved the window should be resized to the new dimensions using SDL_SetVideoMode.
Version: $Id: SDLResizeEvent.java,v 1.4 2005/01/25 02:50:45 ivan_ganza Exp $
Field Summary | |
---|---|
SDL_ResizeEvent | swigResizeEvent |
Method Summary | |
---|---|
int | getHeight()
Get the new height
|
SDL_ResizeEvent | getSwigResizeEvent()
Gets the value of swigResizeEvent
|
int | getType()
The type of the this event
|
int | getWidth()
Get the new width
|
void | setSwigResizeEvent(SDL_ResizeEvent argSwigResizeEvent)
Sets the value of swigResizeEvent
|
Returns: the new height
Returns: the value of swigResizeEvent
Returns: The type of event
Returns: the new width
Parameters: argSwigResizeEvent Value to assign to this.swigResizeEvent