NDSummary.OnToolTipsLoaded("File:print.h",{902:"
Font initialization functions
",903:"
inline void Print_SetFontData(
Print_Data* data
)
Set the current font data structure to use for print functions.
",904:"
bool Print_Initialize()
Initialize print module.  Must be called after VDP_SetMode().
",905:"
void Print_SetMode(
u8 mode
)
Change current print mode.
",906:"
void Print_SetFont(
const u8* font
)
Set the current font (and set mode to RAM).
",907:"
inline void Print_SetFontEx(
u8 patternX,
u8 patternY,
u8 sizeX,
u8 sizeY,
u8 firstChr,
u8 lastChr,
const u8* patterns
)
Set the current font
",908:"
inline const Print_Data* Print_GetFontInfo()
Get information on the current font.
",909:"
inline void Print_SetPosition(
UX x,
UY y
)
Set cursor position.
",910:"
inline void Print_SetPositionX(
UX x
)
Set cursor X coordinate.
",911:"
inline void Print_SetPositionY(
UY y
)
Set cursor Y coordinate.
",912:"
inline void Print_SetCharSize(
u8 x,
u8 y
)
Set character size.
",913:"
inline void Print_SetTabSize(
u8 size
)
Set tabulation size in pixel.
",914:"
void Print_SetBitmapFont(
const u8* font
)
Initialize print module and set a font in RAM.  This function requires PRINT_USE_BITMAP compile option to be set to TRUE.
",915:"
void Print_SetVRAMFont(
const u8* font,
UY y,
u8 color,
bool trans
)
Set the current font and upload data to VRAM .  This function requires PRINT_USE_VRAM compile option to be set to TRUE.
",916:"
void Print_SetTextFont(
const u8* font,
u8 offset
)
Initialize print module and set a font in RAM.  This function requires PRINT_USE_TEXT compile option to be set to TRUE.
",917:"
inline void Print_SelectTextFont(
const u8* font,
u8 offset
)
Set print mode to text mode.  This function requires PRINT_USE_TEXT compile option to be set to TRUE.
",918:"
inline u8 Print_GetPatternOffset()
Get pattern index where the font is stored.  This function requires PRINT_USE_TEXT compile option to be set to TRUE.
",919:"
inline void Print_SetPatternOffset(
u8 offset
)
Set pattern index where the font is stored.  This function requires PRINT_USE_TEXT compile option to be set to TRUE.
",920:"
void Print_SetSpriteFont(
const u8* font,
u8 patIdx,
u8 sprtIdx
)
Set the current font and upload to Sprite Pattern Table.  This function requires PRINT_USE_SPRITE compile option to be set to TRUE.
",921:"
inline u8 Print_GetSpritePattern()
Get pattern index of the 1st sprite character.  This function requires PRINT_USE_SPRITE compile option to be set to TRUE.
",922:"
inline u8 Print_GetSpriteID()
Get the next sprite index.  This function requires PRINT_USE_SPRITE compile option to be set to TRUE.
",923:"
inline void Print_SetSpriteID(
u8 id
)
Set the next sprite index.  This function requires PRINT_USE_SPRITE compile option to be set to TRUE.
",924:"
Text draw functions
",925:"
void Print_DrawChar(
u8 chr
)
Print a single character
",926:"
void Print_DrawCharX(
c8 chr,
u8 num
)
Print the same character many times
",927:"
void Print_DrawText(
const c8* string
)
Print a character string
",928:"
void Print_DrawHex8(
u8 value
)
Print a 8-bits binary value
",929:"
void Print_DrawHex16(
u16 value
)
Print a 16-bits hexadecimal value
",930:"
void Print_DrawBin8(
u8 value
)
Print a 8-bits binary value
",931:"
void Print_DrawHex32(
u32 value
)
Print a 32-bits hexadecimal value This function requires PRINT_USE_32B compile option to be set to TRUE.
",932:"
void Print_DrawInt(
i32 value
)
Print a 32-bits signed decimal value.  This function requires PRINT_USE_32B compile option to be set to TRUE.
",933:"
void Print_DrawInt(
i16 value
)
Print a 16-bits signed decimal value.  This function requires PRINT_USE_32B compile option to be set to FALSE.
",934:"
inline void Print_Space()
Print space.
",935:"
inline void Print_Tab()
Print tabulation.
",936:"
inline void Print_Return()
Print return.
",1450:"
void Print_DrawFormat(
const c8* format,
...
)
Print a formatted string with a variable number of parameters.  This function requires PRINT_USE_FORMAT compile option to be set to TRUE.
",939:"
void Print_Clear()
Clear screen
",940:"
void Print_Backspace(
u8 num
)
Clear X character back from current cursor position.
",941:"
inline void Print_DrawTextAt(
UX x,
UY y,
const c8* str
)
Draw text at a given position on screen.
",942:"
inline void Print_DrawTextAtV(
UX x,
UY y,
const c8* str
)
Draw a vertical text at a given position on screen.
",943:"
inline void Print_DrawCharAt(
UX x,
UY y,
c8 chr
)
Print a single character at a given position.
",944:"
inline void Print_DrawCharXAt(
UX x,
UY y,
c8 chr,
u8 len
)
Print the same character many times at a given position.
",945:"
inline void Print_DrawCharYAt(
UX x,
UY y,
c8 chr,
u8 len
)
Print vertically the same character many times at a given position.
",946:"
inline void Print_DrawHex8At(
UX x,
UY y,
u8 val
)
Print a 8-bits binary value at a given position.
",947:"
inline void Print_DrawHex16At(
UX x,
UY y,
u16 val
)
Print a 16-bits hexadecimal value at a given position.
",948:"
inline void Print_DrawBin8At(
UX x,
UY y,
u8 val
)
Print a 8-bits binary value at a given position.
",949:"
inline void Print_DrawIntAt(
UX x,
UY y,
i16 val
)
Print a 16-bits signed decimal value at a given position.
",951:"
void Print_SetColor(
u8 text,
u8 bg
)
Set the draw color.
",952:"
void Print_SetColorShade(
const u8* shade
)
Set colors shade.  This function requires PRINT_COLOR_NUM compile option to be set to greater than 1 value.
",953:"
void Print_SetShadow(
bool enable,
i8 offsetX,
i8 offsetY,
u8 color
)
Set shadow effect.  This function requires PRINT_USE_FX_SHADOW compile option to be set to TRUE.
",954:"
void Print_EnableShadow(
bool enable
)
Activate/desactivate shadow effect.  This function requires PRINT_USE_FX_SHADOW compile option to be set to TRUE.
",955:"
void Print_DrawTextShadow(
const c8* string,
i8 offsetX,
i8 offsetY,
u8 color
)
Print a character string with shadow FX using 2 pass rendering (to have clean shadow over all characters).  This function requires PRINT_USE_2_PASS_FX and PRINT_USE_FX_SHADOW compile options to be set to TRUE.
",956:"
void Print_SetOutline(
bool enable,
u8 color
)
Set shadow effect.  This function requires PRINT_USE_FX_OUTLINE compile option to be set to TRUE.
",957:"
void Print_EnableOutline(
bool enable
)
Activate/desactivate shadow effect This function requires PRINT_USE_FX_OUTLINE compile option to be set to TRUE.
",958:"
void Print_DrawTextOutline(
const c8* string,
u8 color
)
Print a character string using outline FX.  This function requires PRINT_USE_2_PASS_FX and PRINT_USE_FX_OUTLINE compile options to be set to TRUE.
",959:"
Boxes draw functions
",960:"
void Print_DrawLineH(
UX x,
UY y,
u8 len
)
Draw an horizontal line using characters This function requires PRINT_USE_GRAPH compile option to be set to TRUE.
",961:"
void Print_DrawLineV(
UX x,
UY y,
u8 len
)
Draw a vertical line using characters This function requires PRINT_USE_GRAPH compile option to be set to TRUE.
",962:"
void Print_DrawBox(
UX x,
UY y,
u8 width,
u8 height
)
Draw a box using characters This function requires PRINT_USE_GRAPH compile option to be set to TRUE.
",963:"
inline void Print_DrawTextAlign(
const c8* str,
u8 align
)
Print a character string
",964:"
inline void Print_DrawTextAlignAt(
UX x,
UY y,
const c8* str,
u8 align
)
Draw text at a given position on screen.
"});