Files
wagic/projects/mtg/include/GuiPhaseBar.h
jean.chalard 3349f974f1 J :
* New interface.
* This breaks a lot of things. It is not feature-equivalent. It
  probably doesn't compile under windows and doesn't work on PSP.
* Damage is not resolved any more. This will have to be fixed.
* Blockers can't be ordered any more. This will have to be fixed.
* A lot of new art is included.
2009-08-22 05:59:43 +00:00

28 lines
496 B
C++

#ifndef _GUIPHASEBAR_H_
#define _GUIPHASEBAR_H_
#include "GuiLayers.h"
#include "PhaseRing.h"
#include "WEvent.h"
class GuiPhaseBar : public GuiLayer
{
static const unsigned Width = 28;
static const unsigned Height = Width;
static const unsigned Phases = 12;
protected:
JQuad* quad;
Phase* phase;
float angle;
public:
GuiPhaseBar();
~GuiPhaseBar();
void Update(float dt);
virtual void Render();
virtual int receiveEventMinus(WEvent * e);
};
#endif // _GUIPHASEBAR_H_