Files
itgmania212121/stepmania/src/WheelNotifyIcon.h
T

44 lines
919 B
C++
Raw Normal View History

2003-03-09 00:55:49 +00:00
#ifndef WheelNotifyIcon_H
#define WheelNotifyIcon_H
2002-01-16 10:01:32 +00:00
/*
-----------------------------------------------------------------------------
2003-03-09 00:55:49 +00:00
Class: WheelNotifyIcon
2002-01-16 10:01:32 +00:00
2002-07-27 19:29:51 +00:00
Desc: A little graphic to the left of the song's text banner in the MusicWheel.
2002-01-16 10:01:32 +00:00
2002-05-19 01:59:48 +00:00
Copyright (c) 2001-2002 by the person(s) listed below. All rights reserved.
2002-07-27 19:29:51 +00:00
Chris Danford
2002-01-16 10:01:32 +00:00
-----------------------------------------------------------------------------
*/
#include "Sprite.h"
2003-03-09 00:55:49 +00:00
class WheelNotifyIcon : public Sprite
2002-01-16 10:01:32 +00:00
{
public:
2003-03-09 00:55:49 +00:00
WheelNotifyIcon();
2002-01-16 10:01:32 +00:00
struct Flags
{
Flags() { bHasBeginnerOr1Meter = bEdits = false; iPlayersBestNumber = iStagesForSong = 0; }
bool bHasBeginnerOr1Meter;
int iPlayersBestNumber;
bool bEdits;
int iStagesForSong;
};
void SetFlags( Flags flags );
2002-01-16 10:01:32 +00:00
2002-07-27 19:29:51 +00:00
virtual void DrawPrimitives();
2002-01-16 10:01:32 +00:00
protected:
enum Icons { training=0, best1, best2, best3, edits, long_ver, marathon, empty };
vector<Icons> m_vIconsToShow;
2002-01-16 10:01:32 +00:00
};
#endif