Phase bar is now clickable/touchable and animated.

This commit is contained in:
Xawotihs
2011-08-01 21:26:12 +00:00
parent 32a5b7bb92
commit 097c40149d
3 changed files with 55 additions and 5 deletions
+7
View File
@@ -10,11 +10,18 @@ class GuiPhaseBar: public GuiLayer
protected:
Phase* phase;
float angle;
float zoomFactor;
float zoomTarget;
static GuiPhaseBar*instance;
public:
static GuiPhaseBar* GetInstance();
public:
GuiPhaseBar();
~GuiPhaseBar();
void Update(float dt);
void Zoom(float);
virtual void Render();
virtual int receiveEventMinus(WEvent * e);
};