Main Page | Namespace List | Class Hierarchy | Data Structures | File List | Data Fields

sdl4gcj::video::Screen Class Reference

Inheritance diagram for sdl4gcj::video::Screen:

Inheritance graph
[legend]
Collaboration diagram for sdl4gcj::video::Screen:

Collaboration graph
[legend]

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).

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

Constructor & Destructor Documentation

sdl4gcj::video::Screen::Screen  )  [inline, private]
 


Member Function Documentation

void sdl4gcj::video::Screen::convertSurface PixelFormat  format,
int  flags
[inline]
 

Reimplemented from sdl4gcj::video::Surface.

native void sdl4gcj::video::Screen::flip  ) 
 

void sdl4gcj::video::Screen::freeSurface  )  [inline]
 

Reimplemented from sdl4gcj::video::Surface.

native int [] sdl4gcj::video::Screen::getBlueGammaRamp  )  [static]
 

SDL_GetGammaRamp(NULL, NULL, bluetable).

Cursor sdl4gcj::video::Screen::getCursor  )  [inline]
 

SDL_Cursor* SDL_GetCursor().

native int [] sdl4gcj::video::Screen::getGreenGammaRamp  )  [static]
 

SDL_GetGammaRamp(NULL, greentable, NULL).

native int [] sdl4gcj::video::Screen::getRedGammaRamp  )  [static]
 

SDL_GetGammaRamp(redtable, NULL, NULL).

native VideoInfo sdl4gcj::video::Screen::getVideoInfo  )  [static]
 

SDL_GetVideoInfo().

native Screen sdl4gcj::video::Screen::getVideoSurface  )  [static]
 

SDL_GetVideoSurface().

void sdl4gcj::video::Screen::setCursor Cursor  cursor  )  [inline]
 

SDL_SetCursor(SDL_Cursor* cursor).

native void sdl4gcj::video::Screen::setGamma float  redgamma,
float  greengamma,
float  bluegamma
[static]
 

SDL_SetGamma(float redgamma, float greengamma, float, bluegamma).

native void sdl4gcj::video::Screen::setGammaRamp int[]  redtable,
int[]  greentable,
int[]  bluetable
[static]
 

SDL_SetGammaRamp(Uint16* redtable, Uint16* greentable, Uint16* bluetable).

native Screen sdl4gcj::video::Screen::setVideoMode int  width,
int  height,
int  bpp,
int  flags
[static]
 

SDL_SetVideoMode().

void sdl4gcj::video::Screen::showCursor boolean  toggle  )  [inline]
 

SDL_ShowCursor(int toggle).

void sdl4gcj::video::Screen::updateRect  )  [inline]
 

Make sure the whole of screen is updated.

void sdl4gcj::video::Screen::updateRect Rect  rect  )  [inline]
 

Make sure the given area is updated.

native void sdl4gcj::video::Screen::updateRect int  x,
int  y,
int  w,
int  h
 

Make sure the given area is updated.

This is equivalent to SDL_UpdateRect() function.

native void sdl4gcj::video::Screen::updateRects Rect[]  rects  ) 
 

Make sure the given areas are updated.

This is equivalent to SDL_UpdateRects() function.


Field Documentation

Screen sdl4gcj::video::Screen::singleton = null [static, private]
 


The documentation for this class was generated from the following file:
Generated on Sun Jan 9 13:48:44 2005 for sdl4gcj by doxygen 1.3.7