Difference between revisions of "ProgressBar"

From WikiPrizm
Jump to navigationJump to search
m (I consider this complete enough...)
Line 2: Line 2:
 
| name = ProgressBar
 
| name = ProgressBar
 
| index = 0x180E
 
| index = 0x180E
| signature = void ProgressBar( int current, int max )
+
| signature = void ProgressBar(int current, int max)
| header = display_syscalls.h
+
| header = fxcg/display.h
| comments = Displays a progress bar on a message box. Similar to [[ProgressBar0]].
+
| synopsis = 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).
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.
+
* '''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.
 
}}
 
}}

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