/*---------------------------------------------------------------------------* Copyright (C) 2010-2012 Nintendo. All rights reserved. These coded instructions, statements, and computer programs contain proprietary information of Nintendo of America Inc. and/or Nintendo Company Ltd., and are protected by Federal copyright law. They may not be disclosed to third parties or copied or duplicated in any form, in whole or in part, without the prior written consent of Nintendo. *---------------------------------------------------------------------------*/ #ifndef __DEMOWIN_TEXT_H_ #define __DEMOWIN_TEXT_H_ struct MenuText : public MenuItem { MenuText(Window* window, CVec3 position, CVec2 size, const char* _text, CVec4 _color) : MenuItem(window, position, size), text(_text), color(_color) {} static MenuText* Add(const MenuText& item); String text; CVec4 color; virtual void Draw(); }; #endif