ScummVM API documentation
Scumm::CharsetRendererCommon Class Reference
Inheritance diagram for Scumm::CharsetRendererCommon:
Scumm::CharsetRenderer Scumm::CharsetRendererMac Scumm::CharsetRendererNES Scumm::CharsetRendererPC Scumm::CharsetRendererClassic Scumm::CharsetRendererV3 Scumm::CharsetRendererTownsV3 Scumm::CharsetRendererV2

Public Types

enum  ShadowType { kNoShadowType, kNormalShadowType, kHorizontalShadowType, kOutlineShadowType }
 

Public Member Functions

 CharsetRendererCommon (ScummEngine *vm)
 
void setCurID (int32 id) override
 
int getFontHeight () const override
 
- Public Member Functions inherited from Scumm::CharsetRenderer
 CharsetRenderer (ScummEngine *vm)
 
virtual void printChar (int chr, bool ignoreCharsetMask)=0
 
virtual void drawChar (int chr, Graphics::Surface &s, int x, int y)
 
virtual int getStringWidth (int arg, const byte *text)
 
void addLinebreaks (int a, byte *str, int pos, int maxwidth)
 
void translateColor ()
 
int getCurID ()
 
virtual int getCharHeight (uint16 chr) const
 
virtual int getCharWidth (uint16 chr) const =0
 
virtual void setColor (byte color, bool shadowModeSpecialFlag=false)
 
virtual byte getColor ()
 
void saveLoadWithSerializer (Common::Serializer &ser)
 

Protected Attributes

const byte * _fontPtr
 
int _bitsPerPixel
 
int _fontHeight
 
int _numChars
 
byte _shadowColor
 
ShadowType _shadowType
 
- Protected Attributes inherited from Scumm::CharsetRenderer
byte _color
 
ScummEngine_vm
 
int32 _curId
 

Additional Inherited Members

- Public Attributes inherited from Scumm::CharsetRenderer
Common::Rect _str
 
int _top
 
int _left
 
int _startLeft
 
int _right
 
bool _center
 
bool _hasMask
 
VirtScreenNumber _textScreenID
 
bool _blitAlso
 
bool _firstChar
 
bool _disableOffsX
 

The documentation for this class was generated from the following file: