don't keep reloading PercentDisplay in ScreenNameEntryTraditional

This commit is contained in:
Chris Danford
2004-03-24 02:22:11 +00:00
parent 7bc830888b
commit 4e877f4f1c
6 changed files with 10 additions and 7 deletions
+2 -1
View File
@@ -10,7 +10,7 @@ class PercentageDisplay: public ActorFrame
{
public:
PercentageDisplay();
void Load( PlayerNumber pn, StageStats *pSource );
void Load( PlayerNumber pn, StageStats *pSource, bool bAutoRefresh );
void Update( float fDeltaTime );
void TweenOffScreen();
@@ -18,6 +18,7 @@ private:
void Refresh();
PlayerNumber m_PlayerNumber;
StageStats *m_pSource;
bool m_bAutoRefresh;
int m_Last;
BitmapText m_textPercent;
BitmapText m_textPercentRemainder;