1 /*---------------------------------------------------------------------------*
2   Project:  NintendoWare
3   File:     lyt_Config.h
4 
5   Copyright (C)2009-2011 Nintendo/HAL Laboratory, Inc.  All rights reserved.
6 
7   These coded instructions, statements, and computer programs contain proprietary
8   information of Nintendo and/or its licensed developers and are protected by
9   national and international copyright laws. They may not be disclosed to third
10   parties or copied or duplicated in any form, in whole or in part, without the
11   prior written consent of Nintendo.
12 
13   The content herein is highly confidential and should be handled accordingly.
14 
15   $Revision: 31311 $
16  *---------------------------------------------------------------------------*/
17 
18 #ifndef NW_LYT_CONFIG_H_
19 #define NW_LYT_CONFIG_H_
20 
21 #include <nw/sdk.h>
22 
23 //!
24 //! この定義を無効にすると DMPGL を用いた機能が削除されます。
25 //!
26 //! ・プログラムオブジェクト、テクスチャオブジェクトなどの DMPGL の
27 //!   オブジェクトは生成されません。
28 //! ・それらを保持するメンバー変数はクラス・構造体から削除されます。
29 //! ・DMPGL を使ってレイアウトを描画する関数群(Layout::Draw, Pane::Draw)は
30 //!   ライブラリから削除されます。
31 //!
32 //! デフォルトでは定義は有効になっています。
33 //!
34 #define NW_LYT_DMPGL_ENABLED
35 
36 #if !defined(NW_LYT_DMPGL_ENABLED) && defined(NW_PLATFORM_CTRWIN)
37 #  define NW_LYT_DMPGL_ENABLED
38 #endif
39 
40 #endif // NW_LYT_CONFIG_H_
41