This commit is contained in:
Glenn Maynard
2005-05-05 03:05:22 +00:00
parent af6a452ee9
commit 267b4de72c
2 changed files with 2 additions and 10 deletions
+2 -9
View File
@@ -66,21 +66,14 @@ void WheelItemBase::LoadFromWheelItemBaseData( WheelItemBaseData* pWID )
switch( pWID->m_Type )
{
case TYPE_GENERIC:
{
m_text.SetText( data->m_sText );
m_text.SetDiffuse( data->m_color );
}
m_text.SetText( data->m_sText );
m_text.SetDiffuse( data->m_color );
break;
default:
ASSERT( 0 ); // invalid type
}
}
void WheelItemBase::Update( float fDeltaTime )
{
Actor::Update( fDeltaTime );
}
void WheelItemBase::DrawGrayBar( Actor& bar )
{
if( m_fPercentGray == 0 )
-1
View File
@@ -29,7 +29,6 @@ class WheelItemBase : public ActorFrame
{
public:
WheelItemBase( CString sType = "WheelItemBase" );
virtual void Update( float fDeltaTime );
virtual void DrawPrimitives();
void Load( CString sType );