Difference between revisions of "ProgressBar0"

From WikiPrizm
Jump to navigationJump to search
 
Line 13: Line 13:
 
| comments = Should be called with '''current''' set to zero, for initialization (this syscall calls [[MsgBoxPush]]). To close the progress bar's message box use [[MsgBoxPop]]. [[ProgressBar]] is a simplified variant of this syscall.
 
| comments = Should be called with '''current''' set to zero, for initialization (this syscall calls [[MsgBoxPush]]). To close the progress bar's message box use [[MsgBoxPop]]. [[ProgressBar]] is a simplified variant of this syscall.
 
}}
 
}}
 +
[[Category:Syscalls:UI elements]]

Latest revision as of 18:07, 18 November 2014


Synopsis

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

Displays a progress bar on a message box.

Parameters

The meaning of the first three parameters is still unknown, these should be set to zero.

int current - current progress value.

int max - maximum value current is expected to take.

Comments

Should be called with current set to zero, for initialization (this syscall calls MsgBoxPush). To close the progress bar's message box use MsgBoxPop. ProgressBar is a simplified variant of this syscall.