forked from len0rd/rockbox
Tab police
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14691 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
9730ca8b12
commit
d718c27798
1 changed files with 10 additions and 13 deletions
|
@ -92,16 +92,16 @@ enum {
|
||||||
/* builtin C-based proportional/fixed font structure */
|
/* builtin C-based proportional/fixed font structure */
|
||||||
/* based on The Microwindows Project http://microwindows.org */
|
/* based on The Microwindows Project http://microwindows.org */
|
||||||
struct font {
|
struct font {
|
||||||
int maxwidth; /* max width in pixels*/
|
int maxwidth; /* max width in pixels*/
|
||||||
unsigned int height; /* height in pixels*/
|
unsigned int height; /* height in pixels*/
|
||||||
int ascent; /* ascent (baseline) height*/
|
int ascent; /* ascent (baseline) height*/
|
||||||
int firstchar; /* first character in bitmap*/
|
int firstchar; /* first character in bitmap*/
|
||||||
int size; /* font size in glyphs*/
|
int size; /* font size in glyphs*/
|
||||||
const unsigned char *bits; /* 8-bit column bitmap data*/
|
const unsigned char *bits; /* 8-bit column bitmap data*/
|
||||||
const unsigned short *offset; /* offsets into bitmap data*/
|
const unsigned short *offset; /* offsets into bitmap data*/
|
||||||
const unsigned char *width; /* character widths or NULL if fixed*/
|
const unsigned char *width; /* character widths or NULL if fixed*/
|
||||||
int defaultchar; /* default char (not glyph index)*/
|
int defaultchar; /* default char (not glyph index)*/
|
||||||
int32_t bits_size; /* # bytes of glyph bits*/
|
int32_t bits_size; /* # bytes of glyph bits*/
|
||||||
};
|
};
|
||||||
|
|
||||||
/* font routines*/
|
/* font routines*/
|
||||||
|
@ -122,6 +122,3 @@ void glyph_cache_save(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
/* -----------------------------------------------------------------
|
|
||||||
* vim: et sw=4 ts=8 sts=4 tw=78
|
|
||||||
*/
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue