mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2892 b08762b0-b915-fc4b-9d8c-17b2551a87ff
68 lines
2.1 KiB
C
68 lines
2.1 KiB
C
/*---------------------------------------------------------------------------*
|
||
Project: TwlSDK - WCM - demos - wcm-list-2
|
||
File: screen.h
|
||
|
||
Copyright 2007-2008 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:: 2008-09-17#$
|
||
$Rev: 8556 $
|
||
$Author: okubata_ryoma $
|
||
*---------------------------------------------------------------------------*/
|
||
#ifndef SCREEN_H_
|
||
#define SCREEN_H_
|
||
|
||
#ifdef __cplusplus
|
||
|
||
extern "C" {
|
||
#endif
|
||
|
||
/*===========================================================================*/
|
||
#include <nitro/types.h>
|
||
|
||
// ƒtƒHƒ“ƒg‚Ì<E2809A>F
|
||
#define COLOR_BLACK 0x10
|
||
#define COLOR_RED 0x11
|
||
#define COLOR_GREEN 0x12
|
||
#define COLOR_BLUE 0x13
|
||
#define COLOR_YELLOW 0x14
|
||
#define COLOR_PURPLE 0x15
|
||
#define COLOR_L_BLUE 0x16
|
||
#define COLOR_D_RED 0x17
|
||
#define COLOR_D_GREEN 0x18
|
||
#define COLOR_D_BLUE 0x19
|
||
#define COLOR_D_YELLOW 0x1a
|
||
#define COLOR_D_PURPLE 0x1b
|
||
#define COLOR_D_L_BLUE 0x1c
|
||
#define COLOR_GRAY 0x1d
|
||
#define COLOR_D_GRAY 0x1e
|
||
#define COLOR_WHITE 0x1f
|
||
|
||
/*---------------------------------------------------------------------------*
|
||
ŠÖ<C5A0>” ’è‹`
|
||
*---------------------------------------------------------------------------*/
|
||
void InitScreen(void);
|
||
void ClearScreen(void);
|
||
void ClearMainScreen(void);
|
||
void ClearSubScreen(void);
|
||
void PutMainScreen(s32 x, s32 y, u8 palette, char* text, ...);
|
||
void PutSubScreen(s32 x, s32 y, u8 palette, char* text, ...);
|
||
void UpdateScreen(void);
|
||
|
||
/*===========================================================================*/
|
||
#ifdef __cplusplus
|
||
|
||
} /* extern "C" */
|
||
#endif
|
||
|
||
#endif /* SCREEN_H_ */
|
||
|
||
/*---------------------------------------------------------------------------*
|
||
End of file
|
||
*---------------------------------------------------------------------------*/
|