ScummVM API documentation
Tetraedge::TeTextBase2 Class Reference

Classes

struct  Line
 

Public Types

enum  WrapMode { WrapModeFixed, WrapModeProportional }
 

Public Member Functions

void build ()
 
void clear ()
 
void clearStyles ()
 
void clearText ()
 
TeColor currentColor (uint offset) const
 
TeIntrusivePtr< TeIFontcurrentFont (uint offset)
 
void draw ()
 
uint endOfWord (uint i) const
 
void insertNewLine (uint offset)
 
bool isASpace (uint offset) const
 
int newLines (uint offset) const
 
int nextNonSpaceChar (uint start)
 
void setAlignStyle (TeIFont::AlignStyle style)
 
void setColor (uint offset, const TeColor &color)
 
void setFont (uint offset, const TeIntrusivePtr< TeIFont > &newfont)
 
void setFontSize (int fontSz)
 
void setGlobalColor (const TeColor &color)
 
void setInterLine (float val)
 
void setRect (const TeVector2s32 &rect)
 
void setText (const Common::String &newText)
 
void setWrapMode (WrapMode &mode)
 
TeVector2s32 size ()
 
void strikethrough (bool val)
 
bool strikethrough () const
 
const Common::Stringtext () const
 
WrapMode wrapMode () const
 
const TeVector2s32size () const
 

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