fix "zero first update" logic
This commit is contained in:
Glenn Maynard
2004-01-30 05:07:26 +00:00
parent 62144e5794
commit 6e13a833d2
6 changed files with 39 additions and 65 deletions
+1 -2
View File
@@ -22,7 +22,7 @@
class ScreenTextEntry : public Screen
{
public:
ScreenTextEntry( CString sName, ScreenMessage SM_SendWhenDone, CString sQuestion, CString sInitialAnswer, void(*OnOK)(CString sAnswer) = NULL, void(*OnCanel)() = NULL );
ScreenTextEntry( CString sName, CString sQuestion, CString sInitialAnswer, void(*OnOK)(CString sAnswer) = NULL, void(*OnCanel)() = NULL );
virtual void Update( float fDeltaTime );
virtual void DrawPrimitives();
@@ -45,7 +45,6 @@ protected:
Quad m_rectAnswerBox;
wstring m_sAnswer;
BitmapText m_textAnswer;
ScreenMessage m_SMSendWhenDone;
void(*m_pOnOK)( CString sAnswer );
void(*m_pOnCancel)();
bool m_bCancelled;