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_TAB_WINDOW_H_ 14 #define __DEMOWIN_TAB_WINDOW_H_ 15 16 struct TabWindow : public Window 17 { 18 TabWindow(WindowManager* manager, const char* name, CVec2 position, float width, bool canKill = true); 19 20 void Draw(); 21 22 bool PreUpdate(bool canUpdate); 23 void PreDraw(); 24 25 void AddWindow(Window* window); 26 void RemoveWindow(Window* window); 27 28 std::vector<Window*> tabWindowList; 29 int tabWindowSelected; 30 int tabWindowOver; 31 }; 32 33 #endif 34