TwlIPL/build/tests/DisplaySystemInformation/ARM9/src/drawFunc.h
aoki_ryoma 3f494af397 ARM7_armadilloがなかったので追加。 lcfg関連のフラグ表示に対応。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@1939 b08762b0-b915-fc4b-9d8c-17b2551a87ff
2008-07-18 02:29:59 +00:00

54 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, BOOL isChangeMode );
void switchViewMode( void );
#ifdef __cplusplus
}
#endif
#endif