Skip to content

Commit

Permalink
OSD: Fix screen ordering again.
Browse files Browse the repository at this point in the history
Cherry-picked from master a2e143f.

Fixes #9941
  • Loading branch information
Mark Kendall committed Nov 7, 2011
1 parent 4299903 commit 2b55759
Showing 1 changed file with 21 additions and 17 deletions.
38 changes: 21 additions & 17 deletions mythtv/libs/libmythtv/osd.h
Expand Up @@ -9,23 +9,27 @@ using namespace std;
class MythDialogBox; class MythDialogBox;
struct AVSubtitle; struct AVSubtitle;


#define OSD_DLG_VIDEOEXIT "OSD_VIDEO_EXIT" // Screen names are prepended with alphanumerics to force the correct ordering
#define OSD_DLG_MENU "OSD_MENU" // when displayed. This is slightly complicated by the default windows
#define OSD_DLG_SLEEP "OSD_SLEEP" // (e.g. osd_message) whose names are hard coded into existing themes.
#define OSD_DLG_IDLE "OSD_IDLE"
#define OSD_DLG_INFO "OSD_INFO" // menu dialogs should always be on top
#define OSD_DLG_EDITING "OSD_EDITING" #define OSD_DLG_VIDEOEXIT "xx_OSD_VIDEO_EXIT"
#define OSD_DLG_ASKALLOW "OSD_ASKALLOW" #define OSD_DLG_MENU "xx_OSD_MENU"
#define OSD_DLG_EDITOR "OSD_EDITOR" #define OSD_DLG_SLEEP "xx_OSD_SLEEP"
#define OSD_DLG_CUTPOINT "OSD_CUTPOINT" #define OSD_DLG_IDLE "xx_OSD_IDLE"
#define OSD_DLG_DELETE "OSD_DELETE" #define OSD_DLG_INFO "xx_OSD_INFO"
// Force subtitle/interactive screens to be drawn first (i.e. at the back) by #define OSD_DLG_EDITING "xx_OSD_EDITING"
// prepending their identifiers with a low numeric (may not always work as #define OSD_DLG_ASKALLOW "xx_OSD_ASKALLOW"
// QMap/QString ordering is based on unicode values) #define OSD_DLG_EDITOR "xx_OSD_EDITOR"
#define OSD_WIN_TELETEXT "00_OSD_TELETEXT" #define OSD_DLG_CUTPOINT "xx_OSD_CUTPOINT"
#define OSD_WIN_SUBTITLE "00_OSD_SUBTITLES" #define OSD_DLG_DELETE "xx_OSD_DELETE"
// MHEG should cover subtitles #define OSD_DLG_CONFIRM "mythconfirmpopup"
#define OSD_WIN_INTERACT "01_OSD_INTERACTIVE" // subtitles are always painted first
#define OSD_WIN_TELETEXT "aa_OSD_TELETEXT"
#define OSD_WIN_SUBTITLE "aa_OSD_SUBTITLES"
// MHEG and blu-ray overlay should cover subtitles
#define OSD_WIN_INTERACT "bb_OSD_INTERACTIVE"


#define kOSDFadeTime 1000 #define kOSDFadeTime 1000


Expand Down

0 comments on commit 2b55759

Please sign in to comment.