| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Index]](../keyword_index.gif) | ![[Next]](../next.gif) | 
Enable a hardware cursor
#include <gf/gf.h>
int gf_cursor_enable( gf_display_t display
                      unsigned     cursor_index );
gf
This function enables the hardware cursor for a display. You need to set the cursor first, using gf_cursor_set(). You can disable the cursor using gf_cursor_disable().
|  | Threads should not call this function between calls to gf_draw_begin() and gf_draw_end(), or a deadlock will occur. | 
QNX Graphics Framework
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | Yes | 
gf_cursor_disable(), gf_cursor_set(), gf_cursor_set_pos()
| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Index]](../keyword_index.gif) | ![[Next]](../next.gif) |