#ifndef GRAPHICS_TEXT_H
#define GRAPHICS_TEXT_H
#ifndef EXEC_PORTS_H
#include "exec/ports.h"
#endif
#define FS_NORMAL 0L
#define FSB_EXTENDED 3L
#define FSF_EXTENDED (1L<<3)
#define FSB_ITALIC 2L
#define FSF_ITALIC (1L<<2)
#define FSB_BOLD 1L
#define FSF_BOLD (1L<<1)
#define FSB_UNDERLINED 0L
#define FSF_UNDERLINED (1L<<0)
#define FPB_ROMFONT 0L
#define FPF_ROMFONT (1L<<0)
#define FPB_DISKFONT 1L
#define FPF_DISKFONT (1L<<1)
#define FPB_REVPATH 2L
#define FPF_REVPATH (1L<<2)
#define FPB_TALLDOT 3L
#define FPF_TALLDOT (1L<<3)
#define FPB_WIDEDOT 4L
#define FPF_WIDEDOT (1L<<4)
#define FPB_PROPORTIONAL 5L
#define FPF_PROPORTIONAL (1L<<5)
#define FPB_DESIGNED 6L
#define FPF_DESIGNED (1L<<6)
#define FPB_REMOVED 7L
#define FPF_REMOVED (1L<<7)
struct TextAttr {
STRPTR ta_Name;
UWORD ta_YSize;
UBYTE ta_Style;
UBYTE ta_Flags;
};
struct TextFont {
struct Message tf_Message;
UWORD tf_YSize;
UBYTE tf_Style;
UBYTE tf_Flags;
UWORD tf_XSize;
UWORD tf_Baseline;
UWORD tf_BoldSmear;
UWORD tf_Accessors;
UBYTE tf_LoChar;
UBYTE tf_HiChar;
APTR tf_CharData;
UWORD tf_Modulo;
APTR tf_CharLoc;
APTR tf_CharSpace;
APTR tf_CharKern;
};
#endif
