mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2024-11-22 15:02:20 +00:00
[CHG] Some doxygen improvement
This commit is contained in:
parent
ccb6ec7cf5
commit
b46057fff7
3 changed files with 4 additions and 4 deletions
|
@ -29,6 +29,7 @@ THE SOFTWARE.
|
||||||
* Load a ByteMap font structure from a buffer.
|
* Load a ByteMap font structure from a buffer.
|
||||||
* @param my_bmf The ByteMap font buffer to load.
|
* @param my_bmf The ByteMap font buffer to load.
|
||||||
* @return A GRRLIB_bytemapFont structure filled with BMF informations.
|
* @return A GRRLIB_bytemapFont structure filled with BMF informations.
|
||||||
|
* @see GRRLIB_FreeBMF
|
||||||
*/
|
*/
|
||||||
GRRLIB_bytemapFont* GRRLIB_LoadBMF (const u8 my_bmf[] ) {
|
GRRLIB_bytemapFont* GRRLIB_LoadBMF (const u8 my_bmf[] ) {
|
||||||
GRRLIB_bytemapFont *fontArray = (struct GRRLIB_bytemapFont *)malloc(sizeof(GRRLIB_bytemapFont));
|
GRRLIB_bytemapFont *fontArray = (struct GRRLIB_bytemapFont *)malloc(sizeof(GRRLIB_bytemapFont));
|
||||||
|
|
|
@ -138,11 +138,11 @@ int GRRLIB_Init (void) {
|
||||||
// Default settings
|
// Default settings
|
||||||
GRRLIB_Settings.antialias = true;
|
GRRLIB_Settings.antialias = true;
|
||||||
GRRLIB_Settings.blend = GRRLIB_BLEND_ALPHA;
|
GRRLIB_Settings.blend = GRRLIB_BLEND_ALPHA;
|
||||||
|
|
||||||
// Schedule cleanup for when program exits
|
// Schedule cleanup for when program exits
|
||||||
is_setup = true;
|
is_setup = true;
|
||||||
atexit(GRRLIB_Exit);
|
atexit(GRRLIB_Exit);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -58,7 +58,7 @@ void GRRLIB_Printf (const f32 xpos, const f32 ypos,
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Print formatted output.
|
* Print formatted output with a ByteMap font.
|
||||||
* @param xpos Specifies the x-coordinate of the upper-left corner of the text.
|
* @param xpos Specifies the x-coordinate of the upper-left corner of the text.
|
||||||
* @param ypos Specifies the y-coordinate of the upper-left corner of the text.
|
* @param ypos Specifies the y-coordinate of the upper-left corner of the text.
|
||||||
* @param bmf The ByteMap font to use.
|
* @param bmf The ByteMap font to use.
|
||||||
|
@ -71,7 +71,6 @@ void GRRLIB_PrintBMF (const f32 xpos, const f32 ypos,
|
||||||
const f32 zoom, const char *text, ...) {
|
const f32 zoom, const char *text, ...) {
|
||||||
uint i, j, x, y, n, size;
|
uint i, j, x, y, n, size;
|
||||||
char tmp[1024];
|
char tmp[1024];
|
||||||
|
|
||||||
f32 xoff = xpos;
|
f32 xoff = xpos;
|
||||||
|
|
||||||
va_list argp;
|
va_list argp;
|
||||||
|
|
Loading…
Reference in a new issue