|
|
| Subtitles (Graphics::ManagedSurface *target) |
| |
|
void | setBBox (const Common::Rect &bbox) |
| |
|
void | setColor (byte r, byte g, byte b) |
| |
|
void | drawSubtitle (uint32 timestamp) |
| |
| void | clearSubtitle () const override |
| |
|
void | loadSRTFile (const Common::Path &fname) |
| |
|
void | close () |
| |
|
void | setFont (const char *fontname, int height=18, FontStyle type=kFontStyleRegular) |
| |
|
void | setBBox (const Common::Rect &bbox) |
| |
|
void | setColor (byte r, byte g, byte b) |
| |
|
void | setPadding (uint16 horizontal, uint16 vertical) |
| |
|
bool | drawSubtitle (uint32 timestamp, bool force=false, bool showSFX=false) const |
| |
|
bool | isSfx () const |
| |
|
bool | isLoaded () const |
| |
|
virtual void | clearSubtitle () const |
| |
|
| enum | FontStyle : int { kFontStyleRegular = 0
, kFontStyleItalic
} |
| |
|
bool | _loaded |
| |
|
const Common::Array< SubtitlePart > * | _parts = nullptr |
| |
|
uint16 | _splitPartCount = 0 |
| |
◆ ~Subtitles()
| PhoenixVR::Subtitles::~Subtitles |
( |
| ) |
|
|
overridevirtual |
◆ clearSubtitle()
| void PhoenixVR::Subtitles::clearSubtitle |
( |
| ) |
const |
|
overridevirtual |
◆ drawSubtitleText()
◆ updateSubtitleOverlay()
| void PhoenixVR::Subtitles::updateSubtitleOverlay |
( |
| ) |
const |
|
inlineoverrideprotectedvirtual |
The documentation for this class was generated from the following file: