ProgressBar

Inherited: None

Description

The ProgressBar class is designed to provide a graphical representation of progress with customizable appearance and range. It supports features such as setting the minimum and maximum values, adjusting the progress value, and specifying visual elements for background and progress indicator.

Public Methods

Frame *

chunk () const

float

from () const

Vector4

progressColor () const

void

setChunk (Frame * frame)

void

setFrom (float value)

void

setProgressColor (const Vector4 color)

void

setTo (float value)

void

setValue (float value)

float

to () const

float

value () const

Static Methods

None

Methods Description

Frame * ProgressBar::chunk () const

Returns the frame representing the progress chunk.

See also setChunk().


float ProgressBar::from () const

Returns the minimum value of the progress range.

See also setFrom().


Vector4 ProgressBar::progressColor () const

Returns the color of the progress indicator.

See also setProgressColor().


void ProgressBar::setChunk (Frame * frame)

Sets the frame representing the progress chunk.

See also chunk().


void ProgressBar::setFrom (float value)

Sets the minimum value of the progress range.

See also from().


void ProgressBar::setProgressColor (Vector4 color)

Sets the color of the progress indicator.

See also progressColor().


void ProgressBar::setTo (float value)

Sets the maximum value of the progress range.

See also to().


void ProgressBar::setValue (float value)

Sets the current progress value.

See also value().


float ProgressBar::to () const

Returns the maximum value of the progress range.

See also setTo().


float ProgressBar::value () const

Returns the current progress value.

See also setValue().