Cursor GetSettings

From WikiPrizm
Jump to: navigation, search


Synopsis

Header: fxcg/display.h (Not yet in libfxcg)
Syscall index: 0x01F5
Function signature: unsigned int Cursor_GetSettings(struct cursorSettings*);

Returns cursor settings.

Parameters

Either an array of 17 bytes or a pointer to a variable of type struct cursorSettings.

struct __attribute__ ((__packed__)) cursorSettings{
	unsigned cursorX;
	unsigned cursorY;
	unsigned unk;
	unsigned cursorFlashFlag;
	unsigned char unkByte;
};

Returns

The same value found in cursorFlashFlag.

Comments

cursorX and cursorY are set by locate_OS or Cursor_SetPosition.

cursorFlashFlag are set by Cursor_SetFlashMode_incompatible, Cursor_SetFlashOn or Cursor_SetFlashOff and most likely by other functions.