Difference between revisions of "FKey Display"

From WikiPrizm
Jump to navigationJump to search
 
Line 16: Line 16:
 
</pre>
 
</pre>
 
}}
 
}}
 +
[[Category:Syscalls:UI elements]]

Latest revision as of 18:04, 18 November 2014


Synopsis

Header: display_syscalls.h
Syscall index: 0x0131
Function signature: void FKey_Display(int n, void* p)

Displays a given FKey bitmap above a function key button (F1 through F6).

Parameters

  • int n - Position of the displayed bitmap. 0 means F1 and 5 means F6
  • void* p - Pointer to the bitmap. Use GetFKeyPtr to get built-in compatible bitmaps.

Example

This code displays "TEST" above F1 button:

int iresult;
GetFKeyPtr(0x0003, &iresult);
FKey_Display(0, iresult);