ProgressBar2

From WikiPrizm
Revision as of 13:41, 29 July 2014 by Gbl08ma (talk | contribs) (Created page with "{{syscall | name = ProgressBar2 | index = 0x1809 | signature = void ProgressBar2(unsigned char *heading, int current, int max) | header = fxcg/display.h | synopsis = Displays...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


Synopsis

Header: fxcg/display.h
Syscall index: 0x1809
Function signature: void ProgressBar2(unsigned char *heading, int current, int max)

Displays a progress bar on a message box, with a custom heading. Similar to ProgressBar.

Parameters

  • heading - a pointer to a string with the custom text.
  • current - the current value (call with this value set to zero for initialization).
  • max - the maximum value current is expected to take.

Comments

As with ProgressBar0 and ProgressBar, 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.