|  | 
| void | Notify (const Observable &obs, const ObservableMessage msg) override | 
|  | Process a message from an observable.  More... 
 | 
|  | 
| void | AddOverlay (std::shared_ptr< CDVDOverlay > o, double pts, int index) | 
|  | 
| virtual void | Render (int idx) | 
|  | 
| void | UnInit () | 
|  | Release resources. 
 | 
|  | 
| void | Flush () | 
|  | 
| void | Reset () | 
|  | Reset to default values. 
 | 
|  | 
| void | Release (int idx) | 
|  | 
| bool | HasOverlay (int idx) | 
|  | 
| void | SetVideoRect (CRect &source, CRect &dest, CRect &view) | 
|  | 
| void | SetStereoMode (const std::string &stereomode) | 
|  | 
| void | SetSubtitleVerticalPosition (const int value, bool save) | 
|  | Set the subtitle vertical position, it depends on current screen resolution.  More... 
 | 
|  | 
|  | 
| enum | PositonResInfoState { POSRESINFO_UNSET = -1, 
POSRESINFO_SAVE_CHANGES = -2
 } | 
|  | 
|  | 
| CCriticalSection | m_section | 
|  | 
| std::vector< SElement > | m_buffers [NUM_BUFFERS] | 
|  | 
| std::map< unsigned int, std::shared_ptr< COverlay > > | m_textureCache | 
|  | 
| CRect | m_rv | 
|  | 
| CRect | m_rs | 
|  | 
| CRect | m_rd | 
|  | 
| std::string | m_stereomode | 
|  | 
| int | m_subtitlePosition {0} | 
|  | 
| int | m_subtitlePosResInfo {POSRESINFO_UNSET} | 
|  | 
| int | m_subtitleVerticalMargin {0} | 
|  | 
| bool | m_saveSubtitlePosition {false} | 
|  | 
| KODI::SUBTITLES::HorizontalAlign | m_subtitleHorizontalAlign | 
|  | 
| KODI::SUBTITLES::Align | m_subtitleAlign {KODI::SUBTITLES::Align::BOTTOM_OUTSIDE} | 
|  | 
| std::shared_ptr< struct KODI::SUBTITLES::STYLE::style > | m_overlayStyle | 
|  | 
| std::atomic< bool > | m_isSettingsChanged {false} | 
|  | 
|  | 
| static unsigned int | m_textureid = 1 | 
|  | 
◆ ConvertLibass()
Convert the overlay to a overlay renderer. 
- Parameters
- 
  
    | o | The overlay to convert |  | pts | The current PTS time |  | subStyle | The style to be used, MUST BE SET ONLY at the first call or when user change settings |  
 
- Returns
- True if success, false if error 
 
 
◆ Notify()
  
  | 
        
          | void CRenderer::Notify | ( | const Observable & | obs, |  
          |  |  | const ObservableMessage | msg |  
          |  | ) |  |  |  | overridevirtual | 
 
Process a message from an observable. 
- Parameters
- 
  
    | obs | The observable that sends the message. |  | msg | The message. |  
 
Implements Observer.
 
 
◆ SetSubtitleVerticalPosition()
      
        
          | void CRenderer::SetSubtitleVerticalPosition | ( | const int | value, | 
        
          |  |  | bool | save | 
        
          |  | ) |  |  | 
      
 
Set the subtitle vertical position, it depends on current screen resolution. 
- Parameters
- 
  
    | value | The subtitle position in pixels |  | save | If true, the value will be saved to resolution info |  
 
 
 
◆ m_subtitleHorizontalAlign
  
  | 
        
          | KODI::SUBTITLES::HorizontalAlign OVERLAY::CRenderer::m_subtitleHorizontalAlign |  | protected | 
 
Initial value:{
        KODI::SUBTITLES::HorizontalAlign::CENTER}
 
 
The documentation for this class was generated from the following files:
- xbmc/cores/VideoPlayer/VideoRenderers/OverlayRenderer.h
- xbmc/cores/VideoPlayer/VideoRenderers/OverlayRenderer.cpp