22 #ifndef SCUMM_CHARSET_V7_H 23 #define SCUMM_CHARSET_V7_H 25 #ifdef ENABLE_SCUMM_7_8 27 #include "common/rect.h" 32 kStyleAlignLeft = 0x00,
33 kStyleAlignCenter = 0x01,
34 kStyleAlignRight = 0x02,
39 class GlyphRenderer_v7 {
41 virtual ~GlyphRenderer_v7() {};
43 virtual int draw2byte(byte *buffer,
Common::Rect &clipRect,
int x,
int y,
int pitch, int16 col, uint16 chr) = 0;
44 virtual int drawCharV7(byte *buffer,
Common::Rect &clipRect,
int x,
int y,
int pitch, int16 col, TextStyleFlags flags, byte chr) = 0;
45 virtual int getCharWidth(uint16 chr)
const = 0;
46 virtual int getCharHeight(uint16 chr)
const = 0;
47 virtual int getFontHeight()
const = 0;
48 virtual int setFont(
int id) = 0;
49 virtual bool newStyleWrapping()
const = 0;