ProgressBar

From WikiPrizm
Jump to: navigation, search


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.