1
0
Fork 0
LithOS3/lithos_c/inc/Lth_font.h

42 lines
817 B
C
Raw Normal View History

2016-10-18 10:46:06 -07:00
//-----------------------------------------------------------------------------
//
// Copyright © 2016 Project Golan
//
// See "LICENSE" for more information.
//
//-----------------------------------------------------------------------------
//
// Font layout handling.
//
//-----------------------------------------------------------------------------
#ifndef lithos3__Lth_font_h
#define lithos3__Lth_font_h
2016-10-18 14:20:32 -07:00
// Type Definitions ----------------------------------------------------------|
2016-10-18 10:46:06 -07:00
//
// Lth_Glyph
//
typedef struct Lth_Glyph
{
int w, h;
} Lth_Glyph;
//
// Lth_Font
//
typedef struct Lth_Font
{
__str name;
Lth_Glyph glyphs[126];
} Lth_Font;
2016-10-18 14:20:32 -07:00
// Extern Functions ----------------------------------------------------------|
2016-10-18 10:46:06 -07:00
Lth_Font *Lth_FontNew(char const *name);
#endif//lithos3__Lth_font_h