ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

#include <textobject.h>

Inheritance diagram for Grim::TextObject:
Collaboration diagram for Grim::TextObject:

List of all members.

Public Types


Public Member Functions

 TextObject ()
 ~TextObject ()
void setDefaults (const TextObjectDefaults *defaults)
void setText (const Common::String &text, bool delaySetup)
void reset ()
int getBitmapWidth () const
int getBitmapHeight () const
int getTextCharPosition (int pos)
int getLineX (int line) const
int getLineY (int line) const
void setIsSpeech ()
void setBlastDraw ()
bool isBlastDraw ()
const void * getUserData () const
void setUserData (void *data)
const Common::StringgetLines () const
int getNumLines () const
const Common::StringgetName () const
void draw ()
void update ()
void destroy ()
void saveState (SaveGame *state) const
bool restoreState (SaveGame *state)
int getStackLevel ()
void incStackLevel ()
void decStackLevel ()

Static Public Member Functions

static int32 getStaticTag ()

Protected Member Functions

void setupText ()

Protected Attributes

Common::String _textID
void * _userData
int _numberLines
int _elapsedTime
int _maxLineWidth
bool _blastDraw
bool _isSpeech
bool _created
int _stackLevel

Detailed Description

Definition at line 81 of file textobject.h.

Member Enumeration Documentation


Definition at line 123 of file textobject.h.

Constructor & Destructor Documentation

Grim::TextObject::TextObject (  ) 

Definition at line 47 of file textobject.cpp.

Grim::TextObject::~TextObject (  ) 

Definition at line 53 of file textobject.cpp.

Member Function Documentation

void Grim::TextObject::decStackLevel (  )  [inline]

Definition at line 121 of file textobject.h.

void Grim::TextObject::destroy (  ) 

Definition at line 165 of file textobject.cpp.

void Grim::TextObject::draw (  ) 

Definition at line 327 of file textobject.cpp.

int Grim::TextObject::getBitmapHeight (  )  const

Definition at line 152 of file textobject.cpp.

int Grim::TextObject::getBitmapWidth (  )  const

Definition at line 148 of file textobject.cpp.

const Common::String* Grim::TextObject::getLines (  )  const [inline]

Definition at line 107 of file textobject.h.

int Grim::TextObject::getLineX ( int  line  )  const

Definition at line 288 of file textobject.cpp.

int Grim::TextObject::getLineY ( int  line  )  const

Definition at line 300 of file textobject.cpp.

const Common::String& Grim::TextObject::getName (  )  const [inline]

Definition at line 110 of file textobject.h.

int Grim::TextObject::getNumLines (  )  const [inline]

Definition at line 108 of file textobject.h.

int Grim::TextObject::getStackLevel (  )  [inline]

Definition at line 119 of file textobject.h.

static int32 Grim::TextObject::getStaticTag (  )  [inline, static]

Definition at line 87 of file textobject.h.

int Grim::TextObject::getTextCharPosition ( int  pos  ) 

Definition at line 156 of file textobject.cpp.

const void* Grim::TextObject::getUserData (  )  const [inline]

Definition at line 104 of file textobject.h.

void Grim::TextObject::incStackLevel (  )  [inline]

Definition at line 120 of file textobject.h.

bool Grim::TextObject::isBlastDraw (  )  [inline]

Definition at line 102 of file textobject.h.

void Grim::TextObject::reset (  ) 

Definition at line 69 of file textobject.cpp.

bool Grim::TextObject::restoreState ( SaveGame state  ) 

Definition at line 103 of file textobject.cpp.

void Grim::TextObject::saveState ( SaveGame state  )  const

Definition at line 74 of file textobject.cpp.

void Grim::TextObject::setBlastDraw (  )  [inline]

Definition at line 101 of file textobject.h.

void Grim::TextObject::setDefaults ( const TextObjectDefaults defaults  ) 

Definition at line 140 of file textobject.cpp.

void Grim::TextObject::setIsSpeech (  )  [inline]

Definition at line 100 of file textobject.h.

void Grim::TextObject::setText ( const Common::String text,
bool  delaySetup 

Definition at line 62 of file textobject.cpp.

void Grim::TextObject::setupText (  )  [protected]

Definition at line 172 of file textobject.cpp.

void Grim::TextObject::setUserData ( void *  data  )  [inline]

Definition at line 105 of file textobject.h.

void Grim::TextObject::update (  ) 

Definition at line 343 of file textobject.cpp.

Member Data Documentation

bool Grim::TextObject::_blastDraw [protected]

Definition at line 143 of file textobject.h.

bool Grim::TextObject::_created [protected]

Definition at line 145 of file textobject.h.

Definition at line 140 of file textobject.h.

bool Grim::TextObject::_isSpeech [protected]

Definition at line 144 of file textobject.h.

Definition at line 135 of file textobject.h.

Definition at line 141 of file textobject.h.

Definition at line 139 of file textobject.h.

Definition at line 147 of file textobject.h.

Definition at line 133 of file textobject.h.

void* Grim::TextObject::_userData [protected]

Definition at line 137 of file textobject.h.

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

Generated on Sat Jul 11 2020 05:03:20 for ResidualVM by doxygen 1.7.1
curved edge   curved edge