ProgressBar2

From WikiPrizm
Jump to: navigation, 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.