Kodi Docs 20.0
Kodi is an open source media player and entertainment hub.
CDVDOverlayText Class Reference

#include <DVDOverlayText.h>

Inheritance diagram for CDVDOverlayText:
CDVDOverlayLibass CDVDOverlay

Public Member Functions

 CDVDOverlayText (const std::shared_ptr< CDVDSubtitlesLibass > &libass)
 
 ~CDVDOverlayText () override=default
 
CDVDOverlayTextClone () override
 
void SetTextAlignEnabled (bool enable) override
 
- Public Member Functions inherited from CDVDOverlayLibass
 CDVDOverlayLibass (const std::shared_ptr< CDVDSubtitlesLibass > &libass, DVDOverlayType type)
 
 CDVDOverlayLibass (const CDVDOverlayLibass &src)
 
std::shared_ptr< CDVDSubtitlesLibassGetLibassHandler () const
 Getter for Libass handler. More...
 
- Public Member Functions inherited from CDVDOverlay
 CDVDOverlay (DVDOverlayType type)
 
 CDVDOverlay (const CDVDOverlay &src)
 
virtual ~CDVDOverlay ()
 
CDVDOverlayAcquire ()
 
int Release ()
 
bool IsOverlayType (DVDOverlayType type)
 
bool IsTextAlignEnabled ()
 
void SetOverlayContainerFlushable (bool isFlushable)
 
bool IsOverlayContainerFlushable ()
 
void SetForcedMargins (bool setForcedMargins)
 
bool IsForcedMargins ()
 

Additional Inherited Members

- Static Public Member Functions inherited from CDVDOverlay
static void Release (CDVDOverlay *ov)
 
- Public Attributes inherited from CDVDOverlay
double iPTSStartTime
 
double iPTSStopTime
 
bool bForced
 
bool replace
 
unsigned long m_textureid
 
- Protected Attributes inherited from CDVDOverlay
DVDOverlayType m_type
 
bool m_enableTextAlign
 
bool m_overlayContainerFlushable
 
bool m_setForcedMargins
 

Constructor & Destructor Documentation

◆ CDVDOverlayText()

CDVDOverlayText::CDVDOverlayText ( const std::shared_ptr< CDVDSubtitlesLibass > &  libass)
inlineexplicit

◆ ~CDVDOverlayText()

CDVDOverlayText::~CDVDOverlayText ( )
overridedefault

Member Function Documentation

◆ Clone()

CDVDOverlayText * CDVDOverlayText::Clone ( )
inlineoverridevirtual

return a copy to VideoPlayerSubtitle in order to have hw resources cleared after rendering

Reimplemented from CDVDOverlay.

◆ SetTextAlignEnabled()

void CDVDOverlayText::SetTextAlignEnabled ( bool  enable)
inlineoverridevirtual

Reimplemented from CDVDOverlay.


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