Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

ScreenNetSelectBase.h

Go to the documentation of this file.
00001 /* ScreenNetSelectBase - Base screen containing chat room & user list */ 00002 00003 #ifndef SCREENNETSELECTBASE_H 00004 #define SCREENNETSELECTBASE_H 00005 00006 #include "ScreenWithMenuElements.h" 00007 #include "Sprite.h" 00008 #include "Quad.h" 00009 #include "BitmapText.h" 00010 00011 class ScreenNetSelectBase : public ScreenWithMenuElements 00012 { 00013 public: 00014 ScreenNetSelectBase( const CString& sName ); 00015 00016 virtual void Input( const DeviceInput& DeviceI, const InputEventType type, 00017 const GameInput& GameI, const MenuInput& MenuI, 00018 const StyleInput& StyleI ); 00019 virtual void HandleScreenMessage( const ScreenMessage SM ); 00020 virtual void TweenOffScreen(); 00021 00022 void UpdateUsers(); 00023 void UpdateTextInput(); 00024 private: 00025 //Chatting 00026 BitmapText m_textChatInput; 00027 BitmapText m_textChatOutput; 00028 BitmapText m_textOutHidden; 00029 Sprite m_sprChatInputBox; 00030 Sprite m_sprChatOutputBox; 00031 CString m_sTextInput; 00032 CString m_actualText; 00033 00034 //Users Rect 00035 Quad m_rectUsersBG; 00036 vector <BitmapText> m_textUsers; 00037 }; 00038 00039 //Eventually we won't be using quads in this method. 00040 #define SET_QUAD_INIT( actor ) UtilSetQuadInit( actor, m_sName ); 00041 void UtilSetQuadInit( Actor& actor, const CString &sClassName ); 00042 00043 #endif 00044 00045 /* 00046 * (c) 2004 Charles Lohr 00047 * All rights reserved. 00048 * 00049 * based off of ScreenEz2SelectMusic by "Frieza" 00050 * 00051 * Permission is hereby granted, free of charge, to any person obtaining a 00052 * copy of this software and associated documentation files (the 00053 * "Software"), to deal in the Software without restriction, including 00054 * without limitation the rights to use, copy, modify, merge, publish, 00055 * distribute, and/or sell copies of the Software, and to permit persons to 00056 * whom the Software is furnished to do so, provided that the above 00057 * copyright notice(s) and this permission notice appear in all copies of 00058 * the Software and that both the above copyright notice(s) and this 00059 * permission notice appear in supporting documentation. 00060 * 00061 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 00062 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 00063 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF 00064 * THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS 00065 * INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT 00066 * OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS 00067 * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 00068 * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 00069 * PERFORMANCE OF THIS SOFTWARE. 00070 */

Generated on Thu Jan 27 20:57:32 2005 for StepMania by doxygen 1.3.7