|
Public Member Functions |
native void | updateRect (int x, int y, int w, int h) |
| Make sure the given area is updated.
|
void | updateRect (Rect rect) |
| Make sure the given area is updated.
|
void | updateRect () |
| Make sure the whole of screen is updated.
|
native void | updateRects (Rect[] rects) |
| Make sure the given areas are updated.
|
native void | flip () |
void | setCursor (Cursor cursor) |
| SDL_SetCursor(SDL_Cursor* cursor).
|
Cursor | getCursor () |
| SDL_Cursor* SDL_GetCursor().
|
void | showCursor (boolean toggle) |
| SDL_ShowCursor(int toggle).
|
void | convertSurface (PixelFormat format, int flags) |
void | freeSurface () |
Static Public Member Functions |
native Screen | setVideoMode (int width, int height, int bpp, int flags) |
| SDL_SetVideoMode().
|
native Screen | getVideoSurface () |
| SDL_GetVideoSurface().
|
native VideoInfo | getVideoInfo () |
| SDL_GetVideoInfo().
|
native void | setGamma (float redgamma, float greengamma, float bluegamma) |
| SDL_SetGamma(float redgamma, float greengamma, float, bluegamma).
|
native void | setGammaRamp (int[] redtable, int[] greentable, int[] bluetable) |
| SDL_SetGammaRamp(Uint16* redtable, Uint16* greentable, Uint16* bluetable).
|
void | setRedGammaRamp (int[] redTable) |
| SDL_SetGammaRamp(redTable, null, null).
|
void | setGreenGammaRamp (int[] greenTable) |
| SDL_SetGammaRamp(greenTable, null, null).
|
void | setBlueGammaRamp (int[] blueTable) |
| SDL_SetGammaRamp(blueTable, null, null).
|
native int[] | getRedGammaRamp () |
| SDL_GetGammaRamp(redtable, NULL, NULL).
|
native int[] | getGreenGammaRamp () |
| SDL_GetGammaRamp(NULL, greentable, NULL).
|
native int[] | getBlueGammaRamp () |
| SDL_GetGammaRamp(NULL, NULL, bluetable).
|
Private Member Functions |
| Screen () |
Static Private Attributes |
Screen | singleton = null |