14#include <AUI/View/AViewContainer.h>
15#include <AUI/Traits/values.h>
24class API_AUI_VIEWS AProgressBar:
public AViewContainerBase {
30 ~AProgressBar()
override;
41 emit valueChanged(value);
45 aui::float_within_0_1 value() const noexcept {
50 const _<Inner>& innerView() const noexcept {
57 void setSize(glm::ivec2 size)
override;
58 void render(ARenderContext context)
override;
61 aui::float_within_0_1 mValue = 0.f;
62 void updateInnerWidth();
Definition AProgressBar.h:26
void setValue(aui::float_within_0_1 value)
Definition AProgressBar.h:36
void render(ARenderContext context) override
Draws this AView. Noone should call this function except rendering routine.
Definition AViewContainerBase.cpp:235
void redraw()
Request window manager to redraw this AView.
Definition AView.cpp:68
ASignal< Args... > emits
A signal declaration.
Definition ASignal.h:348
#define emit
emits the specified signal in context of this object.
Definition AObject.h:310