1 /*---------------------------------------------------------------------------* 2 Project: NintendoWare 3 File: lyt_Config.h 4 5 Copyright (C)2009-2010 Nintendo Co., Ltd./HAL Laboratory, Inc. 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 $Revision: 25594 $ 14 *---------------------------------------------------------------------------*/ 15 16 #ifndef NW_LYT_CONFIG_H_ 17 #define NW_LYT_CONFIG_H_ 18 19 #include <nw/sdk.h> 20 21 //! 22 //! この定義を無効にすると DMPGL を用いた機能が削除されます。 23 //! 24 //! ・プログラムオブジェクト、テクスチャオブジェクトなどの DMPGL の 25 //! オブジェクトは生成されません。 26 //! ・それらを保持するメンバー変数はクラス・構造体から削除されます。 27 //! ・DMPGL を使ってレイアウトを描画する関数群(Layout::Draw, Pane::Draw)は 28 //! ライブラリから削除されます。 29 //! 30 //! デフォルトでは定義は有効になっています。 31 //! 32 #define NW_LYT_DMPGL_ENABLED 33 34 #if !defined(NW_LYT_DMPGL_ENABLED) && defined(NW_PLATFORM_CTRWIN) 35 # define NW_LYT_DMPGL_ENABLED 36 #endif 37 38 #endif // NW_LYT_CONFIG_H_ 39