AUI Framework  develop
Cross-platform base for C++ UI apps
Loading...
Searching...
No Matches
AProgressBar Class Reference

A progress bar. More...

#include <AUI/View/AProgressBar.h>

Detailed Description

A progress bar is used to express a long operation (i.e. file copy) with known progress and reassure the user that application is still running.

Member Function Documentation

> All members, including inherited

◆ render()

void AProgressBar::render ( ARenderContext ctx)
overridevirtual
See also
AView::drawView

AView::render is not guaranteed to be called on per-frame basis. Moreover, this method can be called multiple times if render-to-texture caching decides to do so.

Reimplemented from AView.

◆ setSize()

void AProgressBar::setSize ( glm::ivec2 size)
overridevirtual

Reimplemented from AView.

◆ setValue()

void AProgressBar::setValue ( aui::float_within_0_1 value)
inline

Set progress bar value.

Parameters
valueprogress value, where 0.0f = 0%, 1.0f = 100%