Technical data

visual_io(7I) Ioctl Requests SunOS 5.5
#define VIS_CURSOR_SETCURSOR 0x01 /set cursor /
#define VIS_CURSOR_SETPOSITION 0x02 /set cursor position /
#define VIS_CURSOR_SETHOTSPOT 0x04 /set cursor hot spot /
#define VIS_CURSOR_SETCOLORMAP 0x08 /set cursor colormap /
#define VIS_CURSOR_SETSHAPE 0x10 /set cursor shape /
#define VIS_CURSOR_SETALL (VIS_CURSOR_SETCURSOR | \
VIS_CURSOR_SETPOSITION | \
VIS_CURSOR_SETHOTSPOT | \
VIS_CURSOR_SETCOLORMAP | \
VIS_CURSOR_SETSHAPE)
struct vis_cursor {
short set; /what to set /
short enable; /cursor on/off /
struct vis_cursorpos pos; /cursor position /
struct vis_cursorpos hot; /cursor hot spot /
struct vis_cursorcmap cmap; /color map info /
struct vis_cursorpos size; /cursor bit map size /
char image; /cursor image bits /
char mask; /cursor mask bits /
};
The vis_cursorcmap structure should contain pointers to two elements,
specifying the red, green, and blue values for foreground and back-
ground.
VIS_MOVECURSOR
VIS_SETCURSORPOS
These ioctls fetch and move the current cursor position, using the
vis_cursorpos structure.
7I-394 modified 17 Aug 1993