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

OptionIcon.h

Go to the documentation of this file.
00001 /* OptionIcon - Shows PlayerOptions and SongOptions in icon form. */ 00002 00003 #ifndef OPTION_ICON_H 00004 #define OPTION_ICON_H 00005 00006 #include "ActorFrame.h" 00007 #include "Sprite.h" 00008 #include "BitmapText.h" 00009 #include "PlayerNumber.h" 00010 00011 00012 class OptionIcon : public ActorFrame 00013 { 00014 public: 00015 OptionIcon(); 00016 00017 void Load( PlayerNumber pn, CString sText, bool bHeader = false ); 00018 void DrawPrimitives(); 00019 00020 protected: 00021 BitmapText m_text; 00022 Sprite m_spr; 00023 }; 00024 00025 #endif 00026 00027 /* 00028 * (c) 2002-2004 Chris Danford 00029 * All rights reserved. 00030 * 00031 * Permission is hereby granted, free of charge, to any person obtaining a 00032 * copy of this software and associated documentation files (the 00033 * "Software"), to deal in the Software without restriction, including 00034 * without limitation the rights to use, copy, modify, merge, publish, 00035 * distribute, and/or sell copies of the Software, and to permit persons to 00036 * whom the Software is furnished to do so, provided that the above 00037 * copyright notice(s) and this permission notice appear in all copies of 00038 * the Software and that both the above copyright notice(s) and this 00039 * permission notice appear in supporting documentation. 00040 * 00041 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 00042 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 00043 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF 00044 * THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS 00045 * INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT 00046 * OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS 00047 * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 00048 * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 00049 * PERFORMANCE OF THIS SOFTWARE. 00050 */

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