MT Showcase SDK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Showcase::ProgressAnimationWidget Class Referenceabstract

Interface for widgets rendering progress animation. More...

#include <ProgressAnimationWidget.hpp>

Inherits Widget.

Public Member Functions

virtual void progress (Nimble::Vector2f center, float rotation, float radius, float done)=0
 Set progress to animation. More...
 

Detailed Description

Interface for widgets rendering progress animation.

Member Function Documentation

virtual void Showcase::ProgressAnimationWidget::progress ( Nimble::Vector2f  center,
float  rotation,
float  radius,
float  done 
)
pure virtual

Set progress to animation.

Parameters
centerof the progress in parent's coordinates
rotationof the progressing thing (f.ex. hand)
radiusof the progress animation in pixels
doneprogress between 0 and 1 where 1 is ready