NightFox’s Lib
Macros | Functions
nf_text16.h File Reference

Text support functions for 8x16 fonts. More...

#include <nds.h>

Macros

#define NF_TEXT_FONT_CHARS_16   127
 Number of characters available in a font.
 
#define NF_TEXT_FONT_LAST_VALID_CHAR_16   113
 Last valid character in a font.
 

Functions

void NF_LoadTextFont16 (const char *file, const char *name, u32 width, u32 height, u32 rotation)
 Load 8x16 font and palette files from the filesystem to RAM. More...
 
void NF_CreateTextLayer16 (int screen, u32 layer, u32 rotation, const char *name)
 Create a special tiled background to write text on it with a 8x16 font. More...
 
void NF_WriteText16 (int screen, u32 layer, u32 x, u32 y, const char *text)
 Write text in a layer with a 8x16 font at the specified coordinates. More...
 
void NF_ClearTextLayer16 (int screen, u32 layer)
 Clears the contents of a text layer with a 8x16 font filling it with zeroes. More...
 

Detailed Description

Text support functions for 8x16 fonts.