00001 /* ScreenTestInput - Display pressed keys. */ 00002 00003 #ifndef SCREEN_TEST_INPUT_H 00004 #define SCREEN_TEST_INPUT_H 00005 00006 #include "ScreenWithMenuElements.h" 00007 #include "BitmapText.h" 00008 00009 00010 class ScreenTestInput : public ScreenWithMenuElements 00011 { 00012 public: 00013 ScreenTestInput( CString sName ); 00014 virtual ~ScreenTestInput(); 00015 00016 virtual void DrawPrimitives(); 00017 virtual void Update( float fDelta ); 00018 virtual void Input( const DeviceInput& DeviceI, const InputEventType type, const GameInput &GameI, const MenuInput &MenuI, const StyleInput &StyleI ); 00019 virtual void HandleScreenMessage( const ScreenMessage SM ); 00020 00021 virtual void MenuStart( PlayerNumber pn ); 00022 virtual void MenuBack( PlayerNumber pn ); 00023 00024 private: 00025 BitmapText m_textInputs; 00026 }; 00027 00028 #endif 00029 00030 /* 00031 * (c) 2003-2004 Chris Danford 00032 * All rights reserved. 00033 * 00034 * Permission is hereby granted, free of charge, to any person obtaining a 00035 * copy of this software and associated documentation files (the 00036 * "Software"), to deal in the Software without restriction, including 00037 * without limitation the rights to use, copy, modify, merge, publish, 00038 * distribute, and/or sell copies of the Software, and to permit persons to 00039 * whom the Software is furnished to do so, provided that the above 00040 * copyright notice(s) and this permission notice appear in all copies of 00041 * the Software and that both the above copyright notice(s) and this 00042 * permission notice appear in supporting documentation. 00043 * 00044 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 00045 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 00046 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF 00047 * THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS 00048 * INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT 00049 * OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS 00050 * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 00051 * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 00052 * PERFORMANCE OF THIS SOFTWARE. 00053 */