letters.h 4.45 KB
/*
  letters.h

  Contains the Bitmap for the font letters.
*/


#ifndef __letters__
#define __letters__

#include "font.h"
#include "Texture/letters_imgs.h"

static char letters_string[] = "abcdefhiuvsnorm.klxz4321567890`!gjpqytw,EFGHKLNOPRSUVXZ@JM:WIYABCD'T\"+-=Q_/?()[]";


static Bitmap letters_bms[] = {
    { 8, 64, 0*8,   0*12, letters_imgs,   12,0 },
    { 8, 64, 1*8,   0*12, letters_imgs,   12,0 },
    { 8, 64, 2*8,   0*12, letters_imgs,   12,0 },
    { 8, 64, 3*8,   0*12, letters_imgs,   12,0 },
    { 8, 64, 4*8,   0*12, letters_imgs,   12,0 },
    { 8, 64, 5*8,   0*12, letters_imgs,   12,0 },
    { 8, 64, 6*8,   0*12, letters_imgs,   12,0 },
    { 7, 64, 7*8,   0*12, letters_imgs,   12,0 },

    { 8, 64, 0*8,   1*12, letters_imgs,   12,0 },
    { 8, 64, 1*8,   1*12, letters_imgs,   12,0 },
    { 8, 64, 2*8,   1*12, letters_imgs,   12,0 },
    { 8, 64, 3*8,   1*12, letters_imgs,   12,0 },
    { 8, 64, 4*8,   1*12, letters_imgs,   12,0 },
    { 8, 64, 5*8,   1*12, letters_imgs,   12,0 },
    { 9, 64, 6*8,   1*12, letters_imgs,   12,0 },
    { 6, 64, 7*8+1, 1*12, letters_imgs,   12,0 },

    { 8, 64, 0*8,   2*12, letters_imgs,   12,0 },
    { 8, 64, 1*8,   2*12, letters_imgs,   12,0 },
    { 8, 64, 2*8,   2*12, letters_imgs,   12,0 },
    { 8, 64, 3*8,   2*12, letters_imgs,   12,0 },
    { 8, 64, 4*8,   2*12, letters_imgs,   12,0 },
    { 8, 64, 5*8,   2*12, letters_imgs,   12,0 },
    { 8, 64, 6*8,   2*12, letters_imgs,   12,0 },
    { 8, 64, 7*8,   2*12, letters_imgs,   12,0 },

    { 8, 64, 0*8,   3*12, letters_imgs,   12,0 },
    { 8, 64, 1*8,   3*12, letters_imgs,   12,0 },
    { 8, 64, 2*8,   3*12, letters_imgs,   12,0 },
    { 8, 64, 3*8,   3*12, letters_imgs,   12,0 },
    { 8, 64, 4*8,   3*12, letters_imgs,   12,0 },
    { 8, 64, 5*8,   3*12, letters_imgs,   12,0 },
    { 7, 64, 6*8,   3*12, letters_imgs,   12,0 },
    { 7, 64, 7*8,   3*12, letters_imgs,   12,0 },

    { 8, 64, 0*8,   4*12, letters_imgs,   16,0 },
    { 8, 64, 1*8,   4*12, letters_imgs,   16,0 },
    { 8, 64, 2*8,   4*12, letters_imgs,   16,0 },
    { 8, 64, 3*8,   4*12, letters_imgs,   16,0 },
    { 8, 64, 4*8,   4*12, letters_imgs,   16,0 },
    { 8, 64, 5*8,   4*12, letters_imgs,   16,0 },
    { 9, 64, 6*8,   4*12, letters_imgs,   16,0 },
    { 6, 64, 7*8+1, 4*12, letters_imgs,   16,0 },

    { 8, 64, 0*8,   64+0*12, letters_imgs,   12,0 },
    { 8, 64, 1*8,   64+0*12, letters_imgs,   12,0 },
    { 8, 64, 2*8,   64+0*12, letters_imgs,   12,0 },
    { 8, 64, 3*8,   64+0*12, letters_imgs,   12,0 },
    { 8, 64, 4*8,   64+0*12, letters_imgs,   12,0 },
    { 8, 64, 5*8,   64+0*12, letters_imgs,   12,0 },
    { 8, 64, 6*8,   64+0*12, letters_imgs,   12,0 },
    { 8, 64, 7*8,   64+0*12, letters_imgs,   12,0 },

    { 8, 64, 0*8,   64+1*12, letters_imgs,   12,0 },
    { 8, 64, 1*8,   64+1*12, letters_imgs,   12,0 },
    { 8, 64, 2*8,   64+1*12, letters_imgs,   12,0 },
    { 8, 64, 3*8,   64+1*12, letters_imgs,   12,0 },
    { 8, 64, 4*8,   64+1*12, letters_imgs,   12,0 },
    { 8, 64, 5*8,   64+1*12, letters_imgs,   12,0 },
    { 8, 64, 6*8,   64+1*12, letters_imgs,   12,0 },
    { 8, 64, 7*8,   64+1*12, letters_imgs,   12,0 },

    { 7, 64, 0*8,   64+2*12, letters_imgs,   12,0 },
    { 9, 64, 1*8-1, 64+2*12, letters_imgs,   12,0 },
    { 6, 64, 2*8,   64+2*12, letters_imgs,   12,0 },
    { 9, 64, 3*8-1, 64+2*12, letters_imgs,   12,0 },
    { 7, 64, 4*8,   64+2*12, letters_imgs,   12,0 },
    { 9, 64, 5*8-1, 64+2*12, letters_imgs,   12,0 },
    { 8, 64, 6*8,   64+2*12, letters_imgs,   12,0 },
    { 8, 64, 7*8,   64+2*12, letters_imgs,   12,0 },

    { 8, 64, 0*8,   64+3*12, letters_imgs,   12,0 },
    { 8, 64, 1*8,   64+3*12, letters_imgs,   12,0 },
    { 7, 64, 2*8,   64+3*12, letters_imgs,   12,0 },
    { 9, 64, 3*8-1, 64+3*12, letters_imgs,   12,0 },
    { 7, 64, 4*8,   64+3*12, letters_imgs,   12,0 },
    { 9, 64, 5*8-1, 64+3*12, letters_imgs,   12,0 },
    { 8, 64, 6*8,   64+3*12, letters_imgs,   12,0 },
    { 8, 64, 7*8,   64+3*12, letters_imgs,   12,0 },

    { 8, 64, 0*8,   64+4*12+1, letters_imgs,   16,0 },
    { 8, 64, 1*8,   64+4*12+1, letters_imgs,   16,0 },
    { 8, 64, 2*8,   64+4*12+1, letters_imgs,   16,0 },
    { 8, 64, 3*8,   64+4*12+1, letters_imgs,   16,0 },
    { 8, 64, 4*8,   64+4*12+1, letters_imgs,   16,0 },
    { 8, 64, 5*8,   64+4*12+1, letters_imgs,   16,0 },
    { 8, 64, 6*8,   64+4*12+1, letters_imgs,   16,0 },
    { 8, 64, 7*8,   64+4*12+1, letters_imgs,   16,0 },

};


Font letters_font = { letters_string, letters_bms, letters_imgs };


#endif /* __letters__ */