GuiReferenceSetProgress

Sets the progress bar in the Reference View instance to a specific percentage value. This can be used to indicate to the user an operation is occurring, e.g. searching/sorting etc.

void GuiReferenceSetProgress(int progress);

参数

progress An integer representing the percentage value to set the progress bar to.

返回值

此函数不返回值。

示例

GuiReferenceSetProgress(0); // do something GuiReferenceSetProgress(50); // do something else GuiReferenceSetProgress(100); // tell user operation has ended