Logo Search packages:      
Sourcecode: scummvm version File versions  Download package

virtual void OSystem::setMouseCursor ( const byte *  buf,
uint  w,
uint  h,
int  hotspotX,
int  hotspotY,
byte  keycolor = 255,
int  cursorTargetScale = 1 
) [pure virtual]

Set the bitmap used for drawing the cursor.

buf the pixmap data to be used (8bit/pixel)
w width of the mouse cursor
h height of the mouse cursor
hotspotX horizontal offset from the left side to the hotspot
hotspotY vertical offset from the top side to the hotspot
keycolor transparency color index
cursorTargetScale scale factor which cursor is designed for

Generated by  Doxygen 1.6.0   Back to index