hgeGUI::SetCursor

Sets the mouse cursor sprite.

void SetCursor(
  hgeSprite *sprite
);

Parameters

sprite
Pointer to a sprite to be used as mouse cursor. If 0, cursor isn't displayed.

Remarks

By default GUI displays no cursor, so you should set one or render it yourself. You could change the cursor image at any time.

Unlike controls, cursors aren't managed internally by GUI, so you should keep the pointers and free the cursors when they aren't needed anymore.

Requirements

Header: hgegui.h
Import library: hgehelp.lib