Mana
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
ProgressIndicator Class Reference

A widget that indicates progress. More...

#include <progressindicator.h>

Inheritance diagram for ProgressIndicator:

Public Member Functions

 ProgressIndicator ()
 
 ~ProgressIndicator () override
 
void logic () override
 
void draw (gcn::Graphics *graphics) override
 

Private Attributes

std::unique_ptr< SimpleAnimationmIndicator
 
ResourceRef< ImageSetmImageSet
 

Detailed Description

A widget that indicates progress.

Suitable to use instead of a progress bar in cases where it is unknown how long something is going to take.

Definition at line 35 of file progressindicator.h.

Constructor & Destructor Documentation

◆ ProgressIndicator()

ProgressIndicator::ProgressIndicator ( )

Definition at line 33 of file progressindicator.cpp.

◆ ~ProgressIndicator()

ProgressIndicator::~ProgressIndicator ( )
overridedefault

Member Function Documentation

◆ draw()

void ProgressIndicator::draw ( gcn::Graphics *  graphics)
override

Definition at line 54 of file progressindicator.cpp.

◆ logic()

void ProgressIndicator::logic ( )
override

Definition at line 49 of file progressindicator.cpp.

Member Data Documentation

◆ mImageSet

ResourceRef<ImageSet> ProgressIndicator::mImageSet
private

Definition at line 46 of file progressindicator.h.

◆ mIndicator

std::unique_ptr<SimpleAnimation> ProgressIndicator::mIndicator
private

Definition at line 45 of file progressindicator.h.


The documentation for this class was generated from the following files: