|
Public メソッド |
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 () |
| SDL_Flip(SDL_Surface* screen).
|
native void | glSwapBuffers () |
| SDL_GL_SwapBuffers().
|
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 メソッド |
static native Screen | setVideoMode (int width, int height, int bpp, int flags) |
| SDL_SetVideoMode().
|
static native Screen | getVideoSurface () |
| SDL_GetVideoSurface().
|
static native VideoInfo | getVideoInfo () |
| SDL_GetVideoInfo().
|
static native void | setGamma (float redgamma, float greengamma, float bluegamma) |
| SDL_SetGamma(float redgamma, float greengamma, float, bluegamma).
|
static native void | setGammaRamp (int[] redtable, int[] greentable, int[] bluetable) |
| SDL_SetGammaRamp(Uint16* redtable, Uint16* greentable, Uint16* bluetable).
|
static void | setRedGammaRamp (int[] redTable) |
| SDL_SetGammaRamp(redTable, null, null).
|
static void | setGreenGammaRamp (int[] greenTable) |
| SDL_SetGammaRamp(greenTable, null, null).
|
static void | setBlueGammaRamp (int[] blueTable) |
| SDL_SetGammaRamp(blueTable, null, null).
|
static native int[] | getRedGammaRamp () |
| SDL_GetGammaRamp(redtable, NULL, NULL).
|
static native int[] | getGreenGammaRamp () |
| SDL_GetGammaRamp(NULL, greentable, NULL).
|
static native int[] | getBlueGammaRamp () |
| SDL_GetGammaRamp(NULL, NULL, bluetable).
|
static native void | glSetAttribute (int attr, int value) |
| SDL_GL_SetAttribute(SDL_GLattr attr, int value).
|
static native int | glGetAttribute (int attr) |
| SDL_GL_GetAttribute(SDL_GLattr attr).
|
Private メソッド |
| Screen () |
Static Private 変数 |
static Screen | singleton = null |