usbloadergx/source/GUI/gui_diskcover.h
dimok321 0f4eb6b209 *several code optimizations
*added saving of game browser position (on all modes)
*several cleanups and small fixes
*added a "Block Category Menu" setting
*fixed bug with parental block and game settings (thanks NJ7 for finding it)
*fixed "All" not being translated in category menu
2011-06-24 19:11:36 +00:00

33 lines
689 B
C++

#ifndef _GUIDISCCOVER_H_
#define _GUIDISCCOVER_H_
#include "gui.h"
class GuiDiskCover: public GuiImage
{
public:
GuiDiskCover();
GuiDiskCover(GuiImageData * img);
virtual ~GuiDiskCover();
void SetBeta(f32 beta);
void SetBetaRotateEffect(f32 beta, u16 Step);
bool GetBetaRotateEffect();
void SetSpin(bool Up);
void SetState(int s, int c = -1);
void Draw();
private:
f32 deg_beta;
f32 eff_beta;
u16 eff_step;
// f32 spin_angle;
f32 spin_speedup;
int PosZ;
int Distance;
f32 OldDegBeta;
bool spin_up;
};
#endif /* _GUIDISCCOVER_H_ */