summaryrefslogtreecommitdiff
path: root/src/interface/Spinner.h
blob: 23d41416faf7ec8bc4188bdbe569aceadf6a1009 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 * 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;
	int tickInternal;
public:
	Spinner(Point position, Point size);
	virtual void Tick(float dt);
	virtual void Draw(const Point& screenPos);
	virtual ~Spinner();
};

}


#endif /* SPINNER_H_ */