Difference between revisions of "ProgressBar"

From WikiPrizm
Jump to navigationJump to search
(Created page with "{{Incomplete}} {{syscall | name = ProgressBar | index = 0x180E | signature = void ProgressBar( int, int ) | header = display_syscalls.h | comments = Displays a progress bar. }}")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Incomplete}}
 
 
 
{{syscall
 
{{syscall
 
| name = ProgressBar
 
| name = ProgressBar
 
| index = 0x180E
 
| index = 0x180E
| signature = void ProgressBar( int, int )
+
| signature = void ProgressBar(int current, int max)
| header = display_syscalls.h
+
| header = fxcg/display.h
| comments = Displays a progress bar.
+
| 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).
 +
* '''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.
 
}}
 
}}
 +
[[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.