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

#include <subtitles.h>

Inheritance diagram for Myst3::Subtitles:
Collaboration diagram for Myst3::Subtitles:

List of all members.

Classes

struct  Phrase

Public Member Functions

virtual ~Subtitles ()
Common::Rect getPosition () const override
 Get the window position in screen coordinates.
Common::Rect getOriginalPosition () const override
 Get the window position in original (640x480) screen coordinates.
void setFrame (int32 frame)
void drawOverlay () override

Static Public Member Functions

static Subtitlescreate (Myst3Engine *vm, uint32 id)

Protected Member Functions

 Subtitles (Myst3Engine *vm)
void loadFontSettings (int32 id)
virtual void loadResources ()=0
virtual bool loadSubtitles (int32 id)=0
virtual void drawToTexture (const Phrase *phrase)=0
void freeTexture ()
int32 checkOverridenId (int32 id)
const DirectorySubEntryloadText (int32 id, bool overriden)

Protected Attributes

Myst3Engine_vm
Common::Array< Phrase_phrases
int32 _frame
Texture_texture
Common::String _fontFace
uint _fontSize
bool _fontBold
uint _surfaceHeight
uint _singleLineTop
uint _line1Top
uint _line2Top
uint _surfaceTop
int32 _fontCharsetCode

Detailed Description

Definition at line 35 of file subtitles.h.


Constructor & Destructor Documentation

Myst3::Subtitles::~Subtitles (  )  [virtual]

Definition at line 400 of file subtitles.cpp.

Myst3::Subtitles::Subtitles ( Myst3Engine vm  )  [protected]

Definition at line 392 of file subtitles.cpp.


Member Function Documentation

int32 Myst3::Subtitles::checkOverridenId ( int32  id  )  [protected]

Definition at line 441 of file subtitles.cpp.

Subtitles * Myst3::Subtitles::create ( Myst3Engine vm,
uint32  id 
) [static]

Definition at line 504 of file subtitles.cpp.

void Myst3::Subtitles::drawOverlay (  )  [override, virtual]

Reimplemented from Myst3::Drawable.

Definition at line 484 of file subtitles.cpp.

virtual void Myst3::Subtitles::drawToTexture ( const Phrase phrase  )  [protected, pure virtual]
void Myst3::Subtitles::freeTexture (  )  [protected]

Definition at line 525 of file subtitles.cpp.

Common::Rect Myst3::Subtitles::getOriginalPosition (  )  const [override, virtual]

Get the window position in original (640x480) screen coordinates.

Implements Myst3::Window.

Definition at line 552 of file subtitles.cpp.

Common::Rect Myst3::Subtitles::getPosition (  )  const [override, virtual]

Get the window position in screen coordinates.

Implements Myst3::Window.

Definition at line 532 of file subtitles.cpp.

void Myst3::Subtitles::loadFontSettings ( int32  id  )  [protected]

Definition at line 404 of file subtitles.cpp.

virtual void Myst3::Subtitles::loadResources (  )  [protected, pure virtual]
virtual bool Myst3::Subtitles::loadSubtitles ( int32  id  )  [protected, pure virtual]
const DirectorySubEntry * Myst3::Subtitles::loadText ( int32  id,
bool  overriden 
) [protected]

Definition at line 450 of file subtitles.cpp.

void Myst3::Subtitles::setFrame ( int32  frame  ) 

Definition at line 460 of file subtitles.cpp.


Member Data Documentation

bool Myst3::Subtitles::_fontBold [protected]

Definition at line 75 of file subtitles.h.

Definition at line 81 of file subtitles.h.

Definition at line 73 of file subtitles.h.

Definition at line 74 of file subtitles.h.

Definition at line 69 of file subtitles.h.

Definition at line 78 of file subtitles.h.

Definition at line 79 of file subtitles.h.

Definition at line 67 of file subtitles.h.

Definition at line 77 of file subtitles.h.

Definition at line 76 of file subtitles.h.

Definition at line 80 of file subtitles.h.

Definition at line 70 of file subtitles.h.

Definition at line 65 of file subtitles.h.


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


Generated on Sat Nov 16 2019 05:03:31 for ResidualVM by doxygen 1.7.1
curved edge   curved edge