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

A circle-shaped progress bar. More...

#include <AUI/View/ACircleProgressBar.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.

Unlike AProgressBar, this one is circle shaped; thus occupies less space.

Member Function Documentation

> All members, including inherited

◆ render()

void ACircleProgressBar::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.

◆ setValue()

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

Set progress bar value.

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