Screen cursor shapes

Updated: April 19, 2023

The types of cursor shapes

Synopsis:

#include <screen/screen.h>
enum {
    SCREEN_CURSOR_SHAPE_CUSTOM = -1,
    SCREEN_CURSOR_SHAPE_ARROW = 0,
    SCREEN_CURSOR_SHAPE_KEYBOARD = 1,
    SCREEN_CURSOR_SHAPE_HOME = 2,
    SCREEN_CURSOR_SHAPE_MENU = 3,
    SCREEN_CURSOR_SHAPE_NONE = 4,
    SCREEN_CURSOR_SHAPE_HAND = 5,
    SCREEN_CURSOR_SHAPE_IBEAM = 6,
    SCREEN_CURSOR_SHAPE_WAIT = 7,
    SCREEN_CURSOR_SHAPE_ZOOM_IN = 8,
    SCREEN_CURSOR_SHAPE_ZOOM_OUT = 9,
    SCREEN_CURSOR_SHAPE_GRAB = 10,
    SCREEN_CURSOR_SHAPE_GRABBING = 11,
    SCREEN_CURSOR_SHAPE_CROSS = 12,
    SCREEN_CURSOR_SHAPE_MOVE = 13
};

Data:

SCREEN_CURSOR_SHAPE_CUSTOM
For future use.
SCREEN_CURSOR_SHAPE_ARROW
An arrow cursor shape.
SCREEN_CURSOR_SHAPE_KEYBOARD
A cursor shape that indicates keyboard.
SCREEN_CURSOR_SHAPE_HOME
A cursor shape that indicates home.
SCREEN_CURSOR_SHAPE_MENU
A cursor shape that indicates menu.
SCREEN_CURSOR_SHAPE_NONE
No cursor shape.
SCREEN_CURSOR_SHAPE_HAND
A cursor shape that shows a hand.
SCREEN_CURSOR_SHAPE_IBEAM
A cursor shape that indicates an insertion point.
SCREEN_CURSOR_SHAPE_WAIT
A cursor shape that indicates waiting action.
SCREEN_CURSOR_SHAPE_ZOOM_IN
A cursor shape that indicates zooming in action.
SCREEN_CURSOR_SHAPE_ZOOM_OUT
A cursor shape that indicates zooming out action.
SCREEN_CURSOR_SHAPE_GRAB
A cursor shape that indicates a grab.
SCREEN_CURSOR_SHAPE_GRABBING
A cursor shape that indicates grabbing action.
SCREEN_CURSOR_SHAPE_CROSS
A cursor shape that shows a cross.
SCREEN_CURSOR_SHAPE_MOVE
A cursor shape that indicates movement.

Library:

libscreen