Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CDVDOverlay Class Reference

#include <DVDOverlay.h>

Inheritance diagram for CDVDOverlay:
CDVDOverlayGroup CDVDOverlayImage CDVDOverlayLibass CDVDOverlaySpu CDVDOverlaySSA CDVDOverlayText

Public Member Functions

 CDVDOverlay (DVDOverlayType type)
 
 CDVDOverlay (const CDVDOverlay &src)
 
virtual ~CDVDOverlay ()=default
 
bool IsOverlayType (DVDOverlayType type) const
 
virtual std::shared_ptr< CDVDOverlayClone ()
 
virtual void SetTextAlignEnabled (bool enable)
 
bool IsTextAlignEnabled () const
 
void SetOverlayContainerFlushable (bool isFlushable)
 
bool IsOverlayContainerFlushable () const
 
void SetForcedMargins (bool setForcedMargins)
 
bool IsForcedMargins () const
 

Public Attributes

double iPTSStartTime
 
double iPTSStopTime
 
bool bForced
 
bool replace
 
unsigned long m_textureid
 

Protected Attributes

DVDOverlayType m_type
 
bool m_enableTextAlign
 
bool m_overlayContainerFlushable
 
bool m_setForcedMargins
 

Constructor & Destructor Documentation

◆ CDVDOverlay() [1/2]

CDVDOverlay::CDVDOverlay ( DVDOverlayType type)
inlineexplicit

◆ CDVDOverlay() [2/2]

CDVDOverlay::CDVDOverlay ( const CDVDOverlay & src)
inline

◆ ~CDVDOverlay()

virtual CDVDOverlay::~CDVDOverlay ( )
virtualdefault

Member Function Documentation

◆ Clone()

virtual std::shared_ptr< CDVDOverlay > CDVDOverlay::Clone ( )
inlinevirtual

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

Reimplemented in CDVDOverlayImage, CDVDOverlaySSA, and CDVDOverlayText.

◆ IsForcedMargins()

bool CDVDOverlay::IsForcedMargins ( ) const
inline

◆ IsOverlayContainerFlushable()

bool CDVDOverlay::IsOverlayContainerFlushable ( ) const
inline

◆ IsOverlayType()

bool CDVDOverlay::IsOverlayType ( DVDOverlayType type) const
inline

◆ IsTextAlignEnabled()

bool CDVDOverlay::IsTextAlignEnabled ( ) const
inline

◆ SetForcedMargins()

void CDVDOverlay::SetForcedMargins ( bool setForcedMargins)
inline

◆ SetOverlayContainerFlushable()

void CDVDOverlay::SetOverlayContainerFlushable ( bool isFlushable)
inline

◆ SetTextAlignEnabled()

virtual void CDVDOverlay::SetTextAlignEnabled ( bool enable)
inlinevirtual

Reimplemented in CDVDOverlayText.

Member Data Documentation

◆ bForced

bool CDVDOverlay::bForced

◆ iPTSStartTime

double CDVDOverlay::iPTSStartTime

◆ iPTSStopTime

double CDVDOverlay::iPTSStopTime

◆ m_enableTextAlign

bool CDVDOverlay::m_enableTextAlign
protected

◆ m_overlayContainerFlushable

bool CDVDOverlay::m_overlayContainerFlushable
protected

◆ m_setForcedMargins

bool CDVDOverlay::m_setForcedMargins
protected

◆ m_textureid

unsigned long CDVDOverlay::m_textureid

◆ m_type

DVDOverlayType CDVDOverlay::m_type
protected

◆ replace

bool CDVDOverlay::replace

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