1 /*---------------------------------------------------------------------------* 2 Project: Horizon 3 File: GuiUtil.h 4 5 Copyright (C)2009-2012 Nintendo Co., Ltd. All rights reserved. 6 7 These coded instructions, statements, and computer programs contain 8 proprietary information of Nintendo of America Inc. and/or Nintendo 9 Company Ltd., and are protected by Federal copyright law. They may 10 not be disclosed to third parties or copied or duplicated in any form, 11 in whole or in part, without the prior written consent of Nintendo. 12 13 $Rev: 46365 $ 14 *---------------------------------------------------------------------------*/ 15 16 #ifndef NN_COMMON_SCENE_GUIUTIL_H_ 17 #define NN_COMMON_SCENE_GUIUTIL_H_ 18 19 #include <nn.h> 20 #include <demo.h> 21 #include <string.h> 22 #include "TextWriter.h" 23 24 namespace scene 25 { 26 /* Please see man pages for details 27 28 29 30 31 */ 32 void RegisterDrawers(demo::RenderSystemDrawing* pRenderSystem, TextWriter* pTextWriter); 33 34 /* Please see man pages for details 35 36 37 38 */ 39 demo::RenderSystemDrawing* GetRenderSystem(); 40 41 /* Please see man pages for details 42 43 44 45 */ 46 TextWriter* GetTextWriter(); 47 48 namespace util 49 { 50 /* Please see man pages for details 51 52 53 54 55 56 57 58 */ 59 void DrawBox(f32 x, f32 y, f32 width, f32 height, f32 lineWidth = 1.0f); 60 } 61 } 62 63 #endif // NN_COMMON_SCENE_GUIUTIL_H_ 64