16 lines
451 B
C
16 lines
451 B
C
#ifndef U_VGA16_H_
|
|
#define U_VGA16_H_
|
|
|
|
struct bitmap_font {
|
|
unsigned char Width; ///< max. character width
|
|
unsigned char Height; ///< character height
|
|
unsigned short Chars; ///< number of characters in font
|
|
const unsigned char *Widths; ///< width of each character
|
|
const unsigned short *Index; ///< encoding to character index
|
|
const unsigned char *Bitmap; ///< bitmap of all characters
|
|
};
|
|
|
|
extern const struct bitmap_font fbcon_font;
|
|
|
|
#endif
|