pull ScreenPrompt init into a separate function, so it's slightly less of a special

case; maybe this class's instances can be made reusable ...
This commit is contained in:
Glenn Maynard
2005-07-03 03:49:19 +00:00
parent 5bdae4fa35
commit a49aecd774
5 changed files with 49 additions and 47 deletions
+1 -5
View File
@@ -17,8 +17,7 @@ class ScreenPrompt : public Screen
public:
ScreenPrompt( const CString &sScreenName );
virtual void Init();
ScreenPrompt(
const CString &sScreenName,
void Load(
ScreenMessage smSendOnPop,
CString sText,
PromptType type = PROMPT_OK,
@@ -27,9 +26,6 @@ public:
void(*OnNo)(void*) = NULL,
void* pCallbackData = NULL
);
virtual void Update( float fDeltaTime );
virtual void DrawPrimitives();
virtual void Input( const DeviceInput& DeviceI, const InputEventType type, const GameInput &GameI, const MenuInput &MenuI, const StyleInput &StyleI );
virtual void HandleScreenMessage( const ScreenMessage SM );