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

Stark::Resources::ImageText Class Reference

Text image rendered from a TTF font. More...

#include <image.h>

Inheritance diagram for Stark::Resources::ImageText:
Collaboration diagram for Stark::Resources::ImageText:

List of all members.

Public Member Functions

 ImageText (Object *parent, byte subType, uint16 index, const Common::String &name)
virtual ~ImageText ()
void readData (Formats::XRCReadStream *stream) override
 Deserialize the resource static data and initial state.
void resetVisual ()
 Reset the text visual so it is recomputed the next frame it is rendered.

Protected Member Functions

void printData () override
void initVisual () override
void fixWhiteCardinalHotspot (VisualText *text)

Protected Attributes

Common::Point _size
Common::String _text
Color _color
uint32 _font

Detailed Description

Text image rendered from a TTF font.

Definition at line 122 of file image.h.


Constructor & Destructor Documentation

Stark::Resources::ImageText::ImageText ( Object parent,
byte  subType,
uint16  index,
const Common::String name 
)

Definition at line 263 of file image.cpp.

Stark::Resources::ImageText::~ImageText (  )  [virtual]

Definition at line 269 of file image.cpp.


Member Function Documentation

void Stark::Resources::ImageText::fixWhiteCardinalHotspot ( VisualText text  )  [protected]

Definition at line 330 of file image.cpp.

void Stark::Resources::ImageText::initVisual (  )  [override, protected, virtual]

Implements Stark::Resources::Image.

Definition at line 292 of file image.cpp.

void Stark::Resources::ImageText::printData (  )  [override, protected, virtual]

Reimplemented from Stark::Resources::Image.

Definition at line 365 of file image.cpp.

void Stark::Resources::ImageText::readData ( Formats::XRCReadStream stream  )  [override, virtual]

Deserialize the resource static data and initial state.

Reimplemented from Stark::Resources::Image.

Definition at line 272 of file image.cpp.

void Stark::Resources::ImageText::resetVisual (  ) 

Reset the text visual so it is recomputed the next frame it is rendered.

Definition at line 354 of file image.cpp.


Member Data Documentation

Definition at line 144 of file image.h.

Definition at line 145 of file image.h.

Definition at line 142 of file image.h.

Definition at line 143 of file image.h.


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


Generated on Sat Sep 14 2019 05:05:03 for ResidualVM by doxygen 1.7.1
curved edge   curved edge