Difference between revisions of "GetFKeyPtr"
From WikiPrizm
Jump to navigationJump to searchLine 8: | Line 8: | ||
* ''void*'' '''result''' - Pointer to an integer variable | * ''void*'' '''result''' - Pointer to an integer variable | ||
| returns = The function sets the given variable as a pointer to the start of the requested bitmap. | | returns = The function sets the given variable as a pointer to the start of the requested bitmap. | ||
− | | synopsis = This function tells you the position of a requested FKey icon. | + | | synopsis = This function tells you the position of a requested [[FKey bitmap|FKey icon]]. |
| example = | | example = | ||
This code displays "TEST" above F1 button: | This code displays "TEST" above F1 button: | ||
Line 16: | Line 16: | ||
FKey_Display(0, iresult); | FKey_Display(0, iresult); | ||
</pre> | </pre> | ||
− | | comments = Use [[FKey_Display]] to display FKey bitmaps. | + | | comments = Use [[FKey_Display]] to display [[FKey bitmap|FKey bitmaps]]. |
}} | }} |
Revision as of 13:44, 28 August 2012
Contents
Synopsis
Header: display_syscalls.h
Syscall index: 0x12F3
Function signature: void GetFKeyPtr(int id, void* result)
This function tells you the position of a requested FKey icon.
Returns
The function sets the given variable as a pointer to the start of the requested bitmap.
Comments
Use FKey_Display to display FKey bitmaps.
Example
This code displays "TEST" above F1 button:
int iresult; GetFKeyPtr(0x0003, &iresult); FKey_Display(0, iresult);