Files
itgmania212121/stepmania/src/GroupList.h
T
Chris Danford 080a92450c SelectGroup animations converted to commands
ScreenStage animations converted to TransitionBGAnimations
Changed all Stage BitmapTexts to Sprites
2003-03-10 00:16:49 +00:00

38 lines
818 B
C++

#ifndef GROUPLIST_H
#define GROUPLIST_H
#include "ActorFrame.h"
#include "Sprite.h"
#include "BitmapText.h"
const unsigned MAX_GROUPS_ONSCREEN = 8;
class GroupList: public ActorFrame {
Sprite m_sprButton[MAX_GROUPS_ONSCREEN];
BitmapText m_screenLabels[MAX_GROUPS_ONSCREEN];
vector<CString> m_asLabels;
/* Currently selected label. */
unsigned m_iSelection;
/* Label that's currently at the top of the screen. */
unsigned m_iTop;
void BeforeChange();
void AfterChange();
void SetLabels();
public:
GroupList();
void SetSelection(unsigned sel);
int GetSelection() const { return m_iSelection; }
CString GetSelectionName() const { return m_asLabels[m_iSelection]; }
void Up();
void Down();
void Load( const CStringArray& asGroupNames );
void TweenOffScreen();
void TweenOnScreen();
};
#endif