.. _api_ProgressBar: ProgressBar =========== Inherited: None .. _api_ProgressBar_description: 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. .. _api_ProgressBar_public: Public Methods -------------- +------------------------------+--------------------------------------------------------------------------------------+ | :ref:`Frame` * | :ref:`background` () const | +------------------------------+--------------------------------------------------------------------------------------+ | :ref:`Vector4` | :ref:`backgroundColor` () const | +------------------------------+--------------------------------------------------------------------------------------+ | float | :ref:`from` () const | +------------------------------+--------------------------------------------------------------------------------------+ | :ref:`Frame` * | :ref:`progress` () const | +------------------------------+--------------------------------------------------------------------------------------+ | :ref:`Vector4` | :ref:`progressColor` () const | +------------------------------+--------------------------------------------------------------------------------------+ | void | :ref:`setBackground` (Frame * frame) | +------------------------------+--------------------------------------------------------------------------------------+ | void | :ref:`setBackgroundColor` (const Vector4 color) | +------------------------------+--------------------------------------------------------------------------------------+ | void | :ref:`setFrom` (float value) | +------------------------------+--------------------------------------------------------------------------------------+ | void | :ref:`setProgress` (Frame * frame) | +------------------------------+--------------------------------------------------------------------------------------+ | void | :ref:`setProgressColor` (const Vector4 color) | +------------------------------+--------------------------------------------------------------------------------------+ | void | :ref:`setTo` (float value) | +------------------------------+--------------------------------------------------------------------------------------+ | void | :ref:`setValue` (float value) | +------------------------------+--------------------------------------------------------------------------------------+ | float | :ref:`to` () const | +------------------------------+--------------------------------------------------------------------------------------+ | float | :ref:`value` () const | +------------------------------+--------------------------------------------------------------------------------------+ .. _api_ProgressBar_static: Static Methods -------------- None .. _api_ProgressBar_methods: Methods Description ------------------- .. _api_ProgressBar_background: :ref:`Frame` * **ProgressBar::background** () const Returns the frame representing the background. **See also** setBackground(). ---- .. _api_ProgressBar_backgroundColor: :ref:`Vector4` **ProgressBar::backgroundColor** () const Returns the background color of the progress bar. **See also** setBackgroundColor(). ---- .. _api_ProgressBar_from: float **ProgressBar::from** () const Returns the minimum value of the progress range. **See also** setFrom(). ---- .. _api_ProgressBar_progress: :ref:`Frame` * **ProgressBar::progress** () const Returns the frame representing the progress bar. **See also** setProgress(). ---- .. _api_ProgressBar_progressColor: :ref:`Vector4` **ProgressBar::progressColor** () const Returns the color of the progress indicator. **See also** setProgressColor(). ---- .. _api_ProgressBar_setBackground: void **ProgressBar::setBackground** (:ref:`Frame` * *frame*) Sets the *frame* representing the background. **See also** background(). ---- .. _api_ProgressBar_setBackgroundColor: void **ProgressBar::setBackgroundColor** (:ref:`Vector4` *color*) Sets the background *color* of the progress bar. **See also** backgroundColor(). ---- .. _api_ProgressBar_setFrom: void **ProgressBar::setFrom** (float *value*) Sets the minimum *value* of the progress range. **See also** from(). ---- .. _api_ProgressBar_setProgress: void **ProgressBar::setProgress** (:ref:`Frame` * *frame*) Sets the *frame* representing the progress. **See also** progress(). ---- .. _api_ProgressBar_setProgressColor: void **ProgressBar::setProgressColor** (:ref:`Vector4` *color*) Sets the *color* of the progress indicator. **See also** progressColor(). ---- .. _api_ProgressBar_setTo: void **ProgressBar::setTo** (float *value*) Sets the maximum *value* of the progress range. **See also** to(). ---- .. _api_ProgressBar_setValue: void **ProgressBar::setValue** (float *value*) Sets the current progress *value*. **See also** *value*(). ---- .. _api_ProgressBar_to: float **ProgressBar::to** () const Returns the maximum value of the progress range. **See also** setTo(). ---- .. _api_ProgressBar_value: float **ProgressBar::value** () const Returns the current progress value. **See also** setValue().