30 lines
376 B
C++
30 lines
376 B
C++
/*
|
|
* Spinner.h
|
|
*
|
|
* Created on: Feb 11, 2012
|
|
* Author: Simon
|
|
*/
|
|
|
|
#ifndef SPINNER_H_
|
|
#define SPINNER_H_
|
|
|
|
#include "Component.h"
|
|
|
|
namespace ui
|
|
{
|
|
|
|
class Spinner: public Component
|
|
{
|
|
float cValue;
|
|
public:
|
|
Spinner(Point position, Point size);
|
|
virtual void Tick(float dt);
|
|
virtual void Draw(const Point& screenPos);
|
|
virtual ~Spinner();
|
|
};
|
|
|
|
}
|
|
|
|
|
|
#endif /* SPINNER_H_ */
|