usbloadergx/source/libwiigui/gui_diskcover.h
dimok321 d52b7e0ac3 *Fixed little bug which prevented loading games from sub folders on fat/ntfs/ext
*Added a "Details" button on the GameWindowPrompt which calls the game info window
*Added a cache titles setting. You can disable caching titles with that. Also when re-enabling this option the cache file is newly generated. This is there so it is possible to reset a false cached title without having to delete the "TitlesCache.bin"
*Added button 2 on zoom mode of 3D Boxes to rotate the box fast by 180°
*Increased speed for box rotating with WiiMote D-Pad
2011-02-12 09:50:35 +00:00

33 lines
681 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 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_ */