mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-29 22:54:18 +01:00
52fbd15569
* remove the Disk-Shadow from dialogue_box_startgame.png (themers will scream). The Shadow now drawing from Loader * little changes for Widescreen-prompt-fix
43 lines
527 B
C++
43 lines
527 B
C++
#ifndef _GUIDISCCOVER_H_
|
|
#define _GUIDISCCOVER_H_
|
|
|
|
#include "gui.h"
|
|
|
|
|
|
class GuiDiskCover : public GuiImage
|
|
{
|
|
public:
|
|
GuiDiskCover();
|
|
GuiDiskCover(GuiImageData * img);
|
|
~GuiDiskCover();
|
|
void SetBeta(f32 beta);
|
|
void SetBetaRotateEffect(f32 beta, u16 Step);
|
|
bool GetBetaRotateEffect();
|
|
|
|
void SetSpin(bool Up);
|
|
void Draw();
|
|
private:
|
|
f32 deg_beta;
|
|
f32 eff_beta;
|
|
u16 eff_step;
|
|
|
|
// f32 spin_angle;
|
|
f32 spin_speedup;
|
|
bool spin_up;
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* _GUIDISCCOVER_H_ */
|