2002-11-16 08:07:38 +00:00
|
|
|
#ifndef OPTIONSCURSOR_H
|
|
|
|
|
#define OPTIONSCURSOR_H
|
2002-08-13 23:26:46 +00:00
|
|
|
/*
|
|
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
|
Class: OptionsCursor
|
|
|
|
|
|
|
|
|
|
Desc: A graphic displayed in the OptionsCursor during Dancing.
|
|
|
|
|
|
|
|
|
|
Copyright (c) 2001-2002 by the person(s) listed below. All rights reserved.
|
|
|
|
|
Chris Danford
|
|
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include "Sprite.h"
|
|
|
|
|
#include "ActorFrame.h"
|
2003-02-26 00:20:00 +00:00
|
|
|
#include "PlayerNumber.h"
|
2002-08-13 23:26:46 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
class OptionsCursor : public ActorFrame
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
OptionsCursor();
|
|
|
|
|
|
|
|
|
|
void Load( PlayerNumber pn, bool bUnderline );
|
|
|
|
|
void SetBarWidth( int iWidth );
|
|
|
|
|
void TweenBarWidth( int iNewWidth );
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
void TweenBarWidth( int iNewWidth, float fTweenTime );
|
|
|
|
|
|
|
|
|
|
Sprite m_sprLeft;
|
|
|
|
|
Sprite m_sprMiddle;
|
|
|
|
|
Sprite m_sprRight;
|
|
|
|
|
};
|
2002-11-16 08:07:38 +00:00
|
|
|
|
|
|
|
|
#endif
|