ezEngine  Release 25.03
ezProgressEvent Struct Reference

Through these events the state of an ezProgress instance is communicated. More...

#include <Progress.h>

Public Types

enum  Type { Type::ProgressStarted, Type::ProgressEnded, Type::ProgressChanged, Type::CancelClicked }
 

Public Attributes

Type m_Type
 
ezProgressm_pProgressbar
 

Detailed Description

Through these events the state of an ezProgress instance is communicated.

Other code can use this to visualize the progress in different ways. For instance a GUI application can show a progress bar dialog and a game could show a loading screen.

Member Enumeration Documentation

◆ Type

enum ezProgressEvent::Type
strong
Enumerator
ProgressStarted 

Sent when the the first progress starts.

ProgressEnded 

Sent when progress finishes or is canceled.

ProgressChanged 

Sent whenever the progress value changes. Not necessarily in every update step.

CancelClicked 

The user just clicked cancel (for the first time).


The documentation for this struct was generated from the following file: