Files
itgmania212121/stepmania/src/MusicSortDisplay.cpp
T
Chris Danford 31aa613295 Cleanup of theme element names
Renamed ScreenSelectMax* back to their old names
Replaced all hard-coded transitions with TransitionBGAnimations
2003-03-09 00:55:49 +00:00

42 lines
912 B
C++

#include "global.h"
/*
-----------------------------------------------------------------------------
Class: MusicSortDisplay
Desc: A graphic displayed in the MusicSortDisplay during Dancing.
Copyright (c) 2001-2003 by the person(s) listed below. All rights reserved.
Chris Danford
Chris Gomez
-----------------------------------------------------------------------------
*/
#include "MusicSortDisplay.h"
#include "RageUtil.h"
#include "GameConstantsAndTypes.h"
#include "MusicWheel.h"
#include "MusicSortDisplay.h"
#include "ThemeManager.h"
MusicSortDisplay::MusicSortDisplay()
{
Load( THEME->GetPathTo("Graphics","MusicSortDisplay icons 1x4") );
StopAnimating();
}
void MusicSortDisplay::Set( SongSortOrder so )
{
switch( so )
{
case SORT_GROUP:
case SORT_TITLE:
case SORT_BPM:
case SORT_MOST_PLAYED:
SetState( so );
break;
default:
ASSERT(0); // unimplemented MusicSortOrder
}
}