mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
フォントの各種データ、無線ファームの各種データを追加。 各バイナリに対してゲームコードの設定を行った。 実行ファイルの種類を更に細分化し、Makefileを条件指定ファイルから自動生成するように修正。 ユーザデータの破壊、リセットに確認を追加。 NANDアプリにはそれぞれ新規バナーを割り当てた。 ハッシュデータの照合において、結果がIncorrectだった場合は文字色を赤で表記するようにした。 git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2083 b08762b0-b915-fc4b-9d8c-17b2551a87ff
55 lines
1.3 KiB
C
55 lines
1.3 KiB
C
/*---------------------------------------------------------------------------*
|
|
Project: TwlIPL - tests - DisplaySystemInformation
|
|
File: drawFunc.h
|
|
|
|
Copyright **** Nintendo. All rights reserved.
|
|
|
|
These coded instructions, statements, and computer programs contain
|
|
proprietary information of Nintendo of America Inc. and/or Nintendo
|
|
Company Ltd., and are protected by Federal copyright law. They may
|
|
not be disclosed to third parties or copied or duplicated in any form,
|
|
in whole or in part, without the prior written consent of Nintendo.
|
|
|
|
$Date:: $
|
|
$Rev$
|
|
$Author$
|
|
*---------------------------------------------------------------------------*/
|
|
|
|
#ifndef __DRAW_FUNC__
|
|
#define __DRAW_FUNC__
|
|
|
|
#include <twl.h>
|
|
#include "strResource.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
|
|
|
|
|
|
// 各メニューサイズ
|
|
|
|
#define DISP_NUM_LINES 11 // 一ページあたりの項目数
|
|
|
|
/* global variables ----------------- */
|
|
|
|
#define MAXITEM 50
|
|
#define MAXPAGE 5
|
|
|
|
// 各項目を表示するときの行オフセット表
|
|
extern int gMenuKindOffset[ROOTMENU_SIZE][MAXITEM];
|
|
|
|
/* function prototypes ----------------- */
|
|
|
|
void drawHeader( int menu, int line );
|
|
void drawMenu( int menu, int line, int changeLine, u8 mode );
|
|
void printResult( BOOL res );
|
|
void switchViewMode( void );
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|