Difference between revisions of "ProgressBar"

From WikiPrizm
Jump to navigationJump to search
 
Line 9: Line 9:
 
| comments = As with [[ProgressBar0]], this syscall should be called with '''current''' as zero for initialization, and since it calls [[MsgBoxPush]], the message box must be closed with [[MsgBoxPop]] in order to free resources.
 
| comments = As with [[ProgressBar0]], this syscall should be called with '''current''' as zero for initialization, and since it calls [[MsgBoxPush]], the message box must be closed with [[MsgBoxPop]] in order to free resources.
 
}}
 
}}
 +
[[Category:Syscalls:UI elements]]

Latest revision as of 18:07, 18 November 2014


Synopsis

Header: fxcg/display.h
Syscall index: 0x180E
Function signature: void ProgressBar(int current, int max)

Displays a progress bar on a message box. Similar to ProgressBar0.

Parameters

  • current - the current value (call with this value set to zero for initialization).
  • max - the maximum value current is expected to contain.

Comments

As with ProgressBar0, this syscall should be called with current as zero for initialization, and since it calls MsgBoxPush, the message box must be closed with MsgBoxPop in order to free resources.