Difference between revisions of "ProgressBar0"

From WikiPrizm
Jump to navigationJump to search
(s/arguments/parameters)
Line 3: Line 3:
 
| index = 0x180B
 
| index = 0x180B
 
| signature = void ProgressBar0(int, int, int, int current, int max)
 
| signature = void ProgressBar0(int, int, int, int current, int max)
| header = display_syscalls.h
+
| header = fxcg/display.h
 
| parameters = The meaning of the first three parameters is still unknown, these should be set to zero.
 
| parameters = The meaning of the first three parameters is still unknown, these should be set to zero.
 
   
 
   
 
''int'' '''current''' - current progress value.
 
''int'' '''current''' - current progress value.
  
''int'' '''max''' - maximum value for progress.
+
''int'' '''max''' - maximum value '''current''' is expected to take.
  
| comments = Displays a progress bar on a message box.  
+
| synopsis = Displays a progress bar on a message box.  
Should be called with '''current''' set to zero, for initialization (this syscall calls [[MsgBoxPush]]). To close the message box use [[MsgBoxPop]].
+
| 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.
 
}}
 
}}

Revision as of 13:38, 29 July 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.