2009-10-01 01:10:58 +02:00
|
|
|
#ifndef _GUIDISCCOVER_H_
|
|
|
|
#define _GUIDISCCOVER_H_
|
|
|
|
|
|
|
|
#include "gui.h"
|
|
|
|
|
2010-09-24 02:48:03 +02:00
|
|
|
class GuiDiskCover: public GuiImage
|
2010-02-09 11:59:55 +01:00
|
|
|
{
|
2010-09-19 01:16:05 +02:00
|
|
|
public:
|
|
|
|
GuiDiskCover();
|
2010-09-24 02:48:03 +02:00
|
|
|
GuiDiskCover(GuiImageData * img);
|
2010-09-19 01:16:05 +02:00
|
|
|
~GuiDiskCover();
|
2010-09-24 02:48:03 +02:00
|
|
|
void SetBeta(f32 beta);
|
|
|
|
void SetBetaRotateEffect(f32 beta, u16 Step);
|
2010-09-19 01:16:05 +02:00
|
|
|
bool GetBetaRotateEffect();
|
|
|
|
|
2010-09-24 02:48:03 +02:00
|
|
|
void SetSpin(bool Up);
|
2011-02-12 10:50:35 +01:00
|
|
|
void SetState(int s, int c = -1);
|
2010-09-19 01:16:05 +02:00
|
|
|
void Draw();
|
|
|
|
private:
|
|
|
|
f32 deg_beta;
|
|
|
|
f32 eff_beta;
|
|
|
|
u16 eff_step;
|
|
|
|
|
2010-09-24 02:48:03 +02:00
|
|
|
// f32 spin_angle;
|
2010-09-19 01:16:05 +02:00
|
|
|
f32 spin_speedup;
|
2011-02-12 10:50:35 +01:00
|
|
|
int PosZ;
|
|
|
|
int Distance;
|
|
|
|
f32 OldDegBeta;
|
2010-09-19 01:16:05 +02:00
|
|
|
bool spin_up;
|
2009-10-01 01:10:58 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* _GUIDISCCOVER_H_ */
|