Difference between revisions of "Cursor GetSettings"

From WikiPrizm
Jump to navigationJump to search
(Created page with "{{syscall | name = Cursor_GetSettings | index = 0x01F5 | signature = unsigned int Cursor_GetSettings(unsigned int settingsarray[]); | header = fxcg/display.h {{NoLibfxcg}} | s...")
 
Line 4: Line 4:
 
| signature = unsigned int Cursor_GetSettings(unsigned int settingsarray[]);
 
| signature = unsigned int Cursor_GetSettings(unsigned int settingsarray[]);
 
| header = fxcg/display.h {{NoLibfxcg}}
 
| header = fxcg/display.h {{NoLibfxcg}}
| synopsis = Sets the cursor position for [[Print_OS]].
+
| synopsis = Returns cursor settings.
| parameters = * '''x''' Must be in range of [0,20]
+
| parameters = settingsarray[], an array that must be 4 elements or 16 bytes in size.
* '''y''' Must be in range of [0,7]
 
 
| returns = The contents of 0x8804FB0A
 
| returns = The contents of 0x8804FB0A
| comments = settingsarray[] must be 4 elements or 16 bytes in size.
+
| comments =  
 
settingsarray[0] is the X position as set by [[locate_OS]] or [[Cursor_SetPosition]].
 
settingsarray[0] is the X position as set by [[locate_OS]] or [[Cursor_SetPosition]].
 
settingsarray[1] is the Y position as set by [[locate_OS]] or [[Cursor_SetPosition]].
 
settingsarray[1] is the Y position as set by [[locate_OS]] or [[Cursor_SetPosition]].
 
settingsarray[2] and settingsarray[3] are unknown.
 
settingsarray[2] and settingsarray[3] are unknown.
 
}}
 
}}

Revision as of 12:26, 15 February 2015


Synopsis

Header: fxcg/display.h (Not yet in libfxcg)
Syscall index: 0x01F5
Function signature: unsigned int Cursor_GetSettings(unsigned int settingsarray[]);

Returns cursor settings.

Parameters

settingsarray[], an array that must be 4 elements or 16 bytes in size.

Returns

The contents of 0x8804FB0A

Comments

settingsarray[0] is the X position as set by locate_OS or Cursor_SetPosition. settingsarray[1] is the Y position as set by locate_OS or Cursor_SetPosition. settingsarray[2] and settingsarray[3] are unknown.