ctr_Repair/trunk/CardSaveData/common/shfnt.h

39 lines
1.3 KiB
C

/*---------------------------------------------------------------------------*
Project: Horizon
File: irp.h
Copyright (C)2009 Nintendo Co., Ltd. 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.
$Rev$
*---------------------------------------------------------------------------*/
#ifndef GUI_SHFNT_H_
#define GUI_SHFNT_H_
void SharedFontInit();
void SharedFontFinalize();
void shf_DrawText_0(u16 x,u16 y,char* s);
void shf_DrawText_1(u16 x,u16 y,char* s);
void shf_DrawText_0w(u16 x,u16 y,wchar_t* s);
void shf_DrawText_1w(u16 x,u16 y,wchar_t* s);
void shf_SetSize(f32 sz);
void shf_SetScale(f32 h,f32 v);
void shf_SetColor(f32 r,f32 g,f32 b,f32 a);
void shf_SetFontSize(f32 sz);
f32 shf_GetFontWidth();
f32 shf_GetFontHeight();
void shf_SetSizeW(f32 sz);
void shf_SetScaleW(f32 h,f32 v);
void shf_SetColorW(f32 r,f32 g,f32 b,f32 a);
void shf_SetFontSizeW(f32 sz);
f32 shf_GetFontWidthW();
f32 shf_GetFontHeightW();
#endif