Newer
Older
ubixos / src / sys / graphics / objfont.h
@flameshadow flameshadow on 19 Jun 2002 577 bytes Graphics library
#ifndef OBJFONT_H
#define OBJFONT_H

#include "objgfx30.h"

#define LeftText   0
#define CenterText 1
#define RightText  2
#define BottomText 0
#define TopText    2

enum TFontType {BLF, BMF, DPF};

typedef struct {
          char  ID[4];
          UInt8 BPP;
          UInt8 paddington[10];
        } TFontHeader;

typedef struct {
          char  ID[3];
          UInt8 Version;
          UInt8 Width, Height;
          UInt8 NumOfChars;
          UInt8 StartingChar;
          UInt8 ColourType;
          UInt8 paddington[7];
        } TDPFHeader;

class TFont {

};
#endif