This commit is contained in:
Glenn Maynard
2005-07-03 04:46:39 +00:00
parent 9b08148f60
commit e7ef5539d0
2 changed files with 0 additions and 42 deletions
-28
View File
@@ -447,36 +447,8 @@ void ScreenManager::AddNewScreenToTop( const CString &sScreenName )
SetFromNewScreen( pNewScreen );
}
#include "ScreenTextEntry.h"
#include "ScreenMiniMenu.h"
void ScreenManager::TextEntry(
ScreenMessage smSendOnPop,
CString sQuestion,
CString sInitialAnswer,
int iMaxInputLength,
bool(*Validate)(CString sAnswer,CString &sErrorOut),
void(*OnOK)(CString sAnswer),
void(*OnCancel)(),
bool bPassword
)
{
// add the new state onto the back of the array
Screen *pNewScreen = new ScreenTextEntry(
"ScreenTextEntry",
smSendOnPop,
sQuestion,
sInitialAnswer,
iMaxInputLength,
Validate,
OnOK,
OnCancel,
bPassword );
pNewScreen->Init();
this->ZeroNextUpdate();
SetFromNewScreen( pNewScreen );
}
void ScreenManager::MiniMenu( Menu* pDef, ScreenMessage SM_SendOnOK, ScreenMessage SM_SendOnCancel )
{
// add the new state onto the back of the array