digit6font.h
999 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
pinfont.h
Contains the bitmap for the font pin1.
*/
#ifndef __digit6font__
#define __digit6font__
#include "font.h"
#include "Texture/digit6_imgs.h"
static char digit6_string[] = "1234567890.+-,";
static Bitmap digit6_bms[] =
{
{ 5, 32, 0*5, 0*8, digit6_imgs, 8,0 },
{ 5, 32, 1*5, 0*8, digit6_imgs, 8,0 },
{ 5, 32, 2*5, 0*8, digit6_imgs, 8,0 },
{ 5, 32, 3*5, 0*8, digit6_imgs, 8,0 },
{ 5, 32, 4*5, 0*8, digit6_imgs, 8,0 },
{ 5, 32, 0*5, 1*8, digit6_imgs, 8,0 },
{ 5, 32, 1*5, 1*8, digit6_imgs, 8,0 },
{ 5, 32, 2*5, 1*8, digit6_imgs, 8,0 },
{ 5, 32, 3*5, 1*8, digit6_imgs, 8,0 },
{ 5, 32, 4*5, 1*8, digit6_imgs, 8,0 },
{ 5, 32, 0*5, 2*8, digit6_imgs, 8,0 },
{ 5, 32, 1*5, 2*8, digit6_imgs, 8,0 },
{ 5, 32, 2*5, 2*8, digit6_imgs, 8,0 },
{ 5, 32, 3*5, 2*8, digit6_imgs, 8,0 },
};
Font digit6_font = { digit6_string, digit6_bms, digit6_imgs };
#endif /* __digit6font__ */