1 /*---------------------------------------------------------------------------*
2 
3   Copyright (C) Nintendo.  All rights reserved.
4 
5   These coded instructions, statements, and computer programs contain
6   proprietary information of Nintendo of America Inc. and/or Nintendo
7   Company Ltd., and are protected by Federal copyright law.  They may
8   not be disclosed to third parties or copied or duplicated in any form,
9   in whole or in part, without the prior written consent of Nintendo.
10 
11  *---------------------------------------------------------------------------*/
12 
13 #ifndef __DEMOWIN_TEXT_H_
14 #define __DEMOWIN_TEXT_H_
15 
16 struct MenuText : public MenuItem
17 {
MenuTextMenuText18     MenuText(Window* window, CVec3 position, CVec2 size, const char* _text, CVec4 _color)
19         : MenuItem(window, position, size), text(_text), color(_color) {}
20 
21     static MenuText* Add(const MenuText& item);
22 
23     String<MAX_TEXT_LENGTH> text;
24 
25     CVec4 color;
26 
27     virtual void Draw();
28 };
29 
30 #endif
31