MythTV master
Classes | Enumerations | Variables
osd.h File Reference
#include "libmythbase/mythtypes.h"
#include "libmythtv/mythmediaoverlay.h"
#include "libmythtv/mythplayerstate.h"
#include "libmythui/mythscreentype.h"
#include "libmythtv/programtypes.h"
Include dependency graph for osd.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MythOSDDialogData
 
class  MythOSDDialogData::MythOSDDialogButton
 
class  MythOSDDialogData::MythOSDBackButton
 
class  OSD
 

Enumerations

enum  OSDFunctionalType : std::uint8_t {
  kOSDFunctionalType_Default = 0 , kOSDFunctionalType_PictureAdjust , kOSDFunctionalType_SmartForward , kOSDFunctionalType_TimeStretchAdjust ,
  kOSDFunctionalType_AudioSyncAdjust , kOSDFunctionalType_SubtitleZoomAdjust , kOSDFunctionalType_SubtitleDelayAdjust
}
 
enum  OSDTimeout : std::int8_t {
  kOSDTimeout_Ignore = -1 , kOSDTimeout_None = 0 , kOSDTimeout_Short = 1 , kOSDTimeout_Med = 2 ,
  kOSDTimeout_Long = 3
}
 

Variables

static constexpr const char * OSD_DLG_VIDEOEXIT { "xx_OSD_VIDEO_EXIT" }
 
static constexpr const char * OSD_DLG_MENU { "xx_OSD_MENU" }
 
static constexpr const char * OSD_DLG_SLEEP { "xx_OSD_SLEEP" }
 
static constexpr const char * OSD_DLG_IDLE { "xx_OSD_IDLE" }
 
static constexpr const char * OSD_DLG_INFO { "xx_OSD_INFO" }
 
static constexpr const char * OSD_DLG_EDITING { "xx_OSD_EDITING" }
 
static constexpr const char * OSD_DLG_ASKALLOW { "xx_OSD_ASKALLOW" }
 
static constexpr const char * OSD_DLG_EDITOR { "xx_OSD_EDITOR" }
 
static constexpr const char * OSD_DLG_CUTPOINT { "xx_OSD_CUTPOINT" }
 
static constexpr const char * OSD_DLG_DELETE { "xx_OSD_DELETE" }
 
static constexpr const char * OSD_DLG_NAVIGATE { "xx_OSD_NAVIGATE" }
 
static constexpr const char * OSD_DLG_CONFIRM { "mythconfirmpopup" }
 
static constexpr const char * OSD_WIN_MESSAGE { "osd_message" }
 
static constexpr const char * OSD_WIN_INPUT { "osd_input" }
 
static constexpr const char * OSD_WIN_PROGINFO { "program_info" }
 
static constexpr const char * OSD_WIN_STATUS { "osd_status" }
 
static constexpr const char * OSD_WIN_DEBUG { "osd_debug" }
 
static constexpr const char * OSD_WIN_BROWSE { "browse_info" }
 
static constexpr const char * OSD_WIN_PROGEDIT { "osd_program_editor" }
 
static constexpr std::chrono::milliseconds kOSDFadeTime { 1s }
 

Enumeration Type Documentation

◆ OSDFunctionalType

enum OSDFunctionalType : std::uint8_t
Enumerator
kOSDFunctionalType_Default 
kOSDFunctionalType_PictureAdjust 
kOSDFunctionalType_SmartForward 
kOSDFunctionalType_TimeStretchAdjust 
kOSDFunctionalType_AudioSyncAdjust 
kOSDFunctionalType_SubtitleZoomAdjust 
kOSDFunctionalType_SubtitleDelayAdjust 

Definition at line 44 of file osd.h.

◆ OSDTimeout

enum OSDTimeout : std::int8_t
Enumerator
kOSDTimeout_Ignore 
kOSDTimeout_None 
kOSDTimeout_Short 
kOSDTimeout_Med 
kOSDTimeout_Long 

Definition at line 55 of file osd.h.

Variable Documentation

◆ kOSDFadeTime

constexpr std::chrono::milliseconds kOSDFadeTime { 1s }
staticconstexpr

Definition at line 37 of file osd.h.

◆ OSD_DLG_ASKALLOW

constexpr const char* OSD_DLG_ASKALLOW { "xx_OSD_ASKALLOW" }
staticconstexpr

Definition at line 22 of file osd.h.

Referenced by TV::HandleOSDAskAllow(), and TV::ShowOSDAskAllow().

◆ OSD_DLG_CONFIRM

constexpr const char* OSD_DLG_CONFIRM { "mythconfirmpopup" }
staticconstexpr

Definition at line 27 of file osd.h.

Referenced by TV::customEvent(), and OSD::DialogShow().

◆ OSD_DLG_CUTPOINT

constexpr const char* OSD_DLG_CUTPOINT { "xx_OSD_CUTPOINT" }
staticconstexpr

Definition at line 24 of file osd.h.

Referenced by TV::HandleOSDCutpoint(), TV::PlaybackMenuShow(), and TV::ShowOSDCutpoint().

◆ OSD_DLG_DELETE

constexpr const char* OSD_DLG_DELETE { "xx_OSD_DELETE" }
staticconstexpr

Definition at line 25 of file osd.h.

Referenced by TV::ShowOSDPromptDeleteRecording().

◆ OSD_DLG_EDITING

constexpr const char* OSD_DLG_EDITING { "xx_OSD_EDITING" }
staticconstexpr

Definition at line 21 of file osd.h.

Referenced by TV::HandleOSDAlreadyEditing(), and TV::ShowOSDAlreadyEditing().

◆ OSD_DLG_EDITOR

constexpr const char* OSD_DLG_EDITOR { "xx_OSD_EDITOR" }
staticconstexpr

Definition at line 23 of file osd.h.

Referenced by OSD::DialogShow(), TV::HandleOSDChannelEdit(), and TV::StartChannelEditMode().

◆ OSD_DLG_IDLE

constexpr const char* OSD_DLG_IDLE { "xx_OSD_IDLE" }
staticconstexpr

Definition at line 19 of file osd.h.

Referenced by TV::HandleOSDIdle(), and TV::ShowOSDIdle().

◆ OSD_DLG_INFO

constexpr const char* OSD_DLG_INFO { "xx_OSD_INFO" }
staticconstexpr

Definition at line 20 of file osd.h.

Referenced by TV::HandleOSDInfo(), TV::ShowNoRecorderDialog(), and TV::UpdateOSDTimeoutMessage().

◆ OSD_DLG_MENU

constexpr const char* OSD_DLG_MENU { "xx_OSD_MENU" }
staticconstexpr

Definition at line 17 of file osd.h.

Referenced by TV::PlaybackMenuShow().

◆ OSD_DLG_NAVIGATE

constexpr const char* OSD_DLG_NAVIGATE { "xx_OSD_NAVIGATE" }
staticconstexpr

◆ OSD_DLG_SLEEP

constexpr const char* OSD_DLG_SLEEP { "xx_OSD_SLEEP" }
staticconstexpr

Definition at line 18 of file osd.h.

Referenced by TV::HandleOSDSleep(), and TV::ShowOSDSleep().

◆ OSD_DLG_VIDEOEXIT

constexpr const char* OSD_DLG_VIDEOEXIT { "xx_OSD_VIDEO_EXIT" }
staticconstexpr

◆ OSD_WIN_BROWSE

constexpr const char* OSD_WIN_BROWSE { "browse_info" }
staticconstexpr

◆ OSD_WIN_DEBUG

constexpr const char* OSD_WIN_DEBUG { "osd_debug" }
staticconstexpr

◆ OSD_WIN_INPUT

constexpr const char* OSD_WIN_INPUT { "osd_input" }
staticconstexpr

◆ OSD_WIN_MESSAGE

constexpr const char* OSD_WIN_MESSAGE { "osd_message" }
staticconstexpr

◆ OSD_WIN_PROGEDIT

constexpr const char* OSD_WIN_PROGEDIT { "osd_program_editor" }
staticconstexpr

◆ OSD_WIN_PROGINFO

constexpr const char* OSD_WIN_PROGINFO { "program_info" }
staticconstexpr

Definition at line 31 of file osd.h.

Referenced by OSD::LoadWindows(), TV::ToggleOSD(), TV::UnpauseLiveTV(), and TV::UpdateOSDSignal().

◆ OSD_WIN_STATUS

constexpr const char* OSD_WIN_STATUS { "osd_status" }
staticconstexpr