|
MythTV master
|
#include <libmythtv/mythcaptionsoverlay.h>
Public Member Functions | |
| MythCaptionsOverlay (MythMainWindow *MainWindow, TV *Tv, MythPlayerUI *Player, MythPainter *Painter) | |
| ~MythCaptionsOverlay () override | |
| void | Draw (QRect Rect) |
| MythScreenType * | GetWindow (const QString &Window) override |
| TeletextScreen * | InitTeletext () |
| void | EnableTeletext (bool Enable, int Page) |
| bool | TeletextAction (const QString &Action, bool &Exit) |
| void | TeletextReset () |
| void | TeletextClear () |
| SubtitleScreen * | InitSubtitles () |
| void | EnableSubtitles (int Type, bool ForcedOnly=false) |
| void | DisableForcedSubtitles () |
| void | ClearSubtitles () |
| void | DisplayDVDButton (AVSubtitle *DVDButton, QRect &Pos) |
| void | DisplayBDOverlay (MythBDOverlay *Overlay) |
Public Member Functions inherited from MythMediaOverlay | |
| MythMediaOverlay (MythMainWindow *MainWindow, TV *Tv, MythPlayerUI *Player, MythPainter *Painter) | |
| ~MythMediaOverlay () override | |
| void | SetPlayer (MythPlayerUI *Player) |
| virtual bool | Init (QRect Rect, float FontAspect) |
| QRect | Bounds () const |
| int | GetFontStretch () const |
| bool | HasWindow (const QString &Window) |
| virtual MythScreenType * | GetWindow (const QString &Window) |
| virtual void | HideWindow (const QString &Window) |
Protected Member Functions | |
| void | TearDown () override |
Protected Member Functions inherited from MythMediaOverlay | |
| virtual void | TearDown () |
| void | OverrideUIScale (bool Log=true) |
| void | RevertUIScale () |
| MythScreenType * | InitWindow (const QString &Window, MythScreenType *Screen) |
Additional Inherited Members | |
Protected Attributes inherited from MythMediaOverlay | |
| MythMainWindow * | m_mainWindow { nullptr } |
| TV * | m_tv { nullptr } |
| MythPlayerUI * | m_player { nullptr } |
| MythPainter * | m_painter { nullptr } |
| QRect | m_rect |
| bool | m_uiScaleOverride { false } |
| float | m_savedWMult { 1.0F } |
| float | m_savedHMult { 1.0F } |
| QRect | m_savedUIRect |
| int | m_fontStretch { 0 } |
| int | m_savedFontStretch { 0 } |
| QMap< QString, MythScreenType * > | m_children |
Definition at line 17 of file mythcaptionsoverlay.h.
| MythCaptionsOverlay::MythCaptionsOverlay | ( | MythMainWindow * | MainWindow, |
| TV * | Tv, | ||
| MythPlayerUI * | Player, | ||
| MythPainter * | Painter | ||
| ) |
Definition at line 15 of file mythcaptionsoverlay.cpp.
|
override |
Definition at line 21 of file mythcaptionsoverlay.cpp.
| void MythCaptionsOverlay::ClearSubtitles | ( | ) |
Definition at line 206 of file mythcaptionsoverlay.cpp.
Referenced by MythDVDPlayer::DisplayDVDButton(), and MythPlayerCaptionsUI::ResetCaptions().
| void MythCaptionsOverlay::DisableForcedSubtitles | ( | void | ) |
Definition at line 196 of file mythcaptionsoverlay.cpp.
Referenced by MythPlayerCaptionsUI::DoDisableForcedSubtitles().
| void MythCaptionsOverlay::DisplayBDOverlay | ( | MythBDOverlay * | Overlay | ) |
Definition at line 229 of file mythcaptionsoverlay.cpp.
Referenced by MythBDPlayer::DisplayMenu().
| void MythCaptionsOverlay::DisplayDVDButton | ( | AVSubtitle * | DVDButton, |
| QRect & | Pos | ||
| ) |
Definition at line 216 of file mythcaptionsoverlay.cpp.
Referenced by MythDVDPlayer::DisplayDVDButton().
| void MythCaptionsOverlay::Draw | ( | QRect | Rect | ) |
Definition at line 31 of file mythcaptionsoverlay.cpp.
Referenced by MythPlayerUI::RenderVideoFrame().
Definition at line 189 of file mythcaptionsoverlay.cpp.
Referenced by MythPlayerCaptionsUI::DisableCaptions(), DisplayDVDButton(), MythPlayerCaptionsUI::DoEnableForcedSubtitles(), MythPlayerCaptionsUI::EnableCaptions(), and MythPlayerUI::VideoStart().
| void MythCaptionsOverlay::EnableTeletext | ( | bool | Enable, |
| int | Page | ||
| ) |
Definition at line 110 of file mythcaptionsoverlay.cpp.
Referenced by MythPlayerCaptionsUI::DisableTeletext(), and MythPlayerCaptionsUI::EnableTeletext().
|
overridevirtual |
Reimplemented from MythMediaOverlay.
Definition at line 59 of file mythcaptionsoverlay.cpp.
Referenced by DisplayBDOverlay(), and MythPlayerUI::PreProcessNormalFrame().
| SubtitleScreen * MythCaptionsOverlay::InitSubtitles | ( | ) |
Definition at line 160 of file mythcaptionsoverlay.cpp.
Referenced by MythPlayerCaptionsUI::AdjustSubtitleDelay(), MythPlayerCaptionsUI::AdjustSubtitleZoom(), ClearSubtitles(), DisableForcedSubtitles(), DisplayDVDButton(), and EnableSubtitles().
| TeletextScreen * MythCaptionsOverlay::InitTeletext | ( | ) |
Definition at line 75 of file mythcaptionsoverlay.cpp.
Referenced by EnableTeletext(), and TeletextReset().
|
overrideprotectedvirtual |
Reimplemented from MythMediaOverlay.
Definition at line 26 of file mythcaptionsoverlay.cpp.
Referenced by ~MythCaptionsOverlay().
Definition at line 129 of file mythcaptionsoverlay.cpp.
Referenced by MythPlayerCaptionsUI::HandleTeletextAction().
| void MythCaptionsOverlay::TeletextClear | ( | ) |
Definition at line 150 of file mythcaptionsoverlay.cpp.
Referenced by MythPlayerCaptionsUI::ResetCaptions().
| void MythCaptionsOverlay::TeletextReset | ( | ) |
Definition at line 140 of file mythcaptionsoverlay.cpp.
Referenced by MythPlayerCaptionsUI::ResetTeletext().