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

sdl4gcj::video::Cursor Class Reference


Public Member Functions

 Cursor (byte[] data, byte[] mask, int w, int h, int hotX, int hotY)
native void freeCursor ()

Protected Member Functions

 Cursor ()
void finalize () throws Throwable

Static Package Functions

static native void setCursor (Cursor cursor)
 Set the currently active mouse cursor.
static native Cursor getCursor ()
 Get the currently active mouse cursor.
static native boolean showCursor (boolean visibility)
 Toggle whether or not the cursor is shown on the screen.
static native void setVisible (boolean visibility)
 Toggle whether or not the cursor is shown on the screen.
static native boolean isVisible ()
 Returns true if the cursor is visible.

Package Attributes

gnu.gcj.RawData implementation = null

Private Member Functions

native void initCursor (byte[] data, byte[]mask, int w, int h, int hotX, int hotY)

Constructor & Destructor Documentation

sdl4gcj::video::Cursor::Cursor  )  [inline, protected]
 

sdl4gcj::video::Cursor::Cursor byte[]  data,
byte[]  mask,
int  w,
int  h,
int  hotX,
int  hotY
[inline]
 


Member Function Documentation

void sdl4gcj::video::Cursor::finalize  )  throws Throwable [inline, protected]
 

native void sdl4gcj::video::Cursor::freeCursor  ) 
 

static native Cursor sdl4gcj::video::Cursor::getCursor  )  [static, package]
 

Get the currently active mouse cursor.

SDL_Cursor* SDL_GetCursor() wrapper.

native void sdl4gcj::video::Cursor::initCursor byte[]  data,
byte[]  mask,
int  w,
int  h,
int  hotX,
int  hotY
[private]
 

static native boolean sdl4gcj::video::Cursor::isVisible  )  [static, package]
 

Returns true if the cursor is visible.

SDL_ShowCursor(int toggle) wrapper.

Returns:
current cursor visible.

static native void sdl4gcj::video::Cursor::setCursor Cursor  cursor  )  [static, package]
 

Set the currently active mouse cursor.

SDL_SetCursor(SDL_Cursor* cursor) wrapper.

static native void sdl4gcj::video::Cursor::setVisible boolean  visibility  )  [static, package]
 

Toggle whether or not the cursor is shown on the screen.

Passing true displays the cursor and passing false hides it. SDL_ShowCursor(int toggle) wrapper.

static native boolean sdl4gcj::video::Cursor::showCursor boolean  visibility  )  [static, package]
 

Toggle whether or not the cursor is shown on the screen.

Passing true displays the cursor and passing false hides it. SDL_ShowCursor(int toggle) wrapper.

Returns:
new cursor visibility.


Field Documentation

gnu.gcj.RawData sdl4gcj::video::Cursor::implementation = null [package]
 


The documentation for this class was generated from the following file:
Generated on Tue Jan 17 15:02:34 2006 for sdl4gcj by  doxygen 1.4.3