Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
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
 
std::shared_ptr< CDVDOverlayClone () 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)
 
 ~CDVDOverlayLibass () override=default
 
std::shared_ptr< CDVDSubtitlesLibassGetLibassHandler () const
 Getter for Libass handler.
 
- Public Member Functions inherited from CDVDOverlay
 CDVDOverlay (DVDOverlayType type)
 
 CDVDOverlay (const CDVDOverlay &src)
 
virtual ~CDVDOverlay ()=default
 
bool IsOverlayType (DVDOverlayType type) const
 
bool IsTextAlignEnabled () const
 
void SetOverlayContainerFlushable (bool isFlushable)
 
bool IsOverlayContainerFlushable () const
 
void SetForcedMargins (bool setForcedMargins)
 
bool IsForcedMargins () const
 

Additional Inherited Members

- 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()

std::shared_ptr< CDVDOverlay > 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: