gf_cursor_disable()

Disable a hardware cursor

Synopsis:

#include <gf/gf.h>

int gf_cursor_disable( gf_display_t display,
                       unsigned     cursor_index );

Arguments:

display
The display you want to disable the hardware cursor for.
cursor_index
Currently ignored. Set to 0.

Library:

gf

Description:

This function disables the hardware cursor for a display. You can enable the cursor using gf_cursor_enable().


WARNING: Threads should not call this function between calls to gf_draw_begin() and gf_draw_end(), or a deadlock will occur.

Returns:

GF_ERR_OK
Success.
GF_ERR_IODISPLAY
Error communicating with io-display. Check to ensure that io-display is still running. The sloginfo utility may provide more information.

Classification:

QNX Graphics Framework

Safety:
Interrupt handler No
Signal handler No
Thread Yes

See also:

gf_cursor_enable(), gf_cursor_set(), gf_cursor_set_pos()