usbloadergx/source/libwiigui/gui_diskcover.h

29 lines
575 B
C
Raw Normal View History

#ifndef _GUIDISCCOVER_H_
#define _GUIDISCCOVER_H_
#include "gui.h"
2010-09-24 02:48:03 +02:00
class GuiDiskCover: public GuiImage
{
public:
GuiDiskCover();
2010-09-24 02:48:03 +02:00
GuiDiskCover(GuiImageData * img);
~GuiDiskCover();
2010-09-24 02:48:03 +02:00
void SetBeta(f32 beta);
void SetBetaRotateEffect(f32 beta, u16 Step);
bool GetBetaRotateEffect();
2010-09-24 02:48:03 +02:00
void SetSpin(bool Up);
void Draw();
private:
f32 deg_beta;
f32 eff_beta;
u16 eff_step;
2010-09-24 02:48:03 +02:00
// f32 spin_angle;
f32 spin_speedup;
bool spin_up;
};
#endif /* _GUIDISCCOVER_H_ */