CString -> RString

This commit is contained in:
Chris Danford
2006-01-22 01:00:06 +00:00
parent 870ed267fc
commit 7f821e8cfc
578 changed files with 3943 additions and 3946 deletions
+8 -8
View File
@@ -25,17 +25,17 @@ class ScreenTextEntry : public ScreenWithMenuElements
public:
static void TextEntry(
ScreenMessage smSendOnPop,
CString sQuestion,
CString sInitialAnswer,
RString sQuestion,
RString sInitialAnswer,
int iMaxInputLength,
bool(*Validate)(const CString &sAnswer,CString &sErrorOut) = NULL,
void(*OnOK)(const CString &sAnswer) = NULL,
bool(*Validate)(const RString &sAnswer,RString &sErrorOut) = NULL,
void(*OnOK)(const RString &sAnswer) = NULL,
void(*OnCanel)() = NULL,
bool bPassword = false );
static void Password(
ScreenMessage smSendOnPop,
const CString &sQuestion,
void(*OnOK)(const CString &sPassword) = NULL,
const RString &sQuestion,
void(*OnOK)(const RString &sPassword) = NULL,
void(*OnCanel)() = NULL )
{
TextEntry( smSendOnPop, sQuestion, "", 255, NULL, OnOK, OnCanel, true );
@@ -48,14 +48,14 @@ public:
virtual void Update( float fDelta );
virtual void Input( const InputEventPlus &input );
static CString s_sLastAnswer;
static RString s_sLastAnswer;
static bool s_bCancelledLast;
protected:
void MoveX( int iDir );
void MoveY( int iDir );
void AppendToAnswer( CString s );
void AppendToAnswer( RString s );
void BackspaceInAnswer();
void End( bool bCancelled );