Class ProgressBar¶
- Defined in File progressbar.h
Page Contents
Inheritance Relationships¶
Base Type¶
public nanogui::Widget
(Class Widget)
Class Documentation¶
-
class
nanogui::
ProgressBar
¶ Standard widget for visualizing progress.
Inherits from nanogui::Widget
Public Functions
-
float
value
()¶
-
void
setValue
(float value)¶
-
virtual Vector2i
preferredSize
(NVGcontext *ctx) const¶ Compute the preferred size of the widget.
-
virtual void
draw
(NVGcontext *ctx)¶ Draw the widget (and all child widgets)
-
virtual void
save
(Serializer &s) const¶ Save the state of the widget into the given Serializer instance.
-
virtual bool
load
(Serializer &s)¶ Restore the state of the widget from the given Serializer instance.
Protected Attributes
-
float
mValue
¶
-
float