32x64 3-color message board http://elektorembedded.blogspot.com/

Dependencies:   mbed

font.h

Committer:
Clemo
Date:
2010-05-05
Revision:
0:7a63bd42cf24

File content as of revision 0:7a63bd42cf24:

#ifndef __FONT_H__
#define __FONT_H__


typedef unsigned char uint8_t;


typedef struct
{
  int width; // Character width in bits.
  int offset; // Offset in bytes into font bitmap.
}
FONT_CHAR_INFO;


typedef struct
{
  int height; // Character height in bits.
  char start_char; // Start character.
  const FONT_CHAR_INFO *p_character_descriptor; // Character decriptor array.
  const uint8_t *p_character_bitmaps; // Character bitmap array.
}
FONT_INFO;


#endif // __FONT_H__