Files
wagic/projects/mtg/include/GuiPhaseBar.h
2011-08-03 16:27:28 +00:00

30 lines
525 B
C++

#ifndef _GUIPHASEBAR_H_
#define _GUIPHASEBAR_H_
#include "GuiLayers.h"
#include "PhaseRing.h"
#include "WEvent.h"
class GuiPhaseBar: public GuiLayer
{
protected:
Phase* phase;
float angle;
float zoomTarget;
float zoomFactor;
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);
};
#endif // _GUIPHASEBAR_H_