summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorphintuka <phintuka>2007-09-30 21:11:11 +0000
committerphintuka <phintuka>2007-09-30 21:11:11 +0000
commiteabb79d24caf829a56b7461e09d3bf402e86ebf0 (patch)
tree3a4ec4ecdb9f09fc91780b532965c1905f4d8fcd /config.h
parenta87ba55fe98134122926f12e25654b4ee0d25bd1 (diff)
downloadxineliboutput-eabb79d24caf829a56b7461e09d3bf402e86ebf0.tar.gz
xineliboutput-eabb79d24caf829a56b7461e09d3bf402e86ebf0.tar.bz2
Configuration option for OSD layer mixing
Diffstat (limited to 'config.h')
-rw-r--r--config.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/config.h b/config.h
index a7ccb3cf..bcc2bad4 100644
--- a/config.h
+++ b/config.h
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: config.h,v 1.31 2007-09-30 16:52:18 phintuka Exp $
+ * $Id: config.h,v 1.32 2007-09-30 21:11:11 phintuka Exp $
*
*/
@@ -122,6 +122,14 @@
#define SPEAKERS_A52_PASSTHRU 12
#define SPEAKERS_count 13
+// OSD layers mixing
+#define OSD_MIXER_NONE 0
+#define OSD_MIXER_GRAY 1
+#define OSD_MIXER_ALPHA 2
+#define OSD_MIXER_GRAYALPHA 3 // OSD_MIXER_GRAY | OSD_MIXER_ALPHA
+#define OSD_MIXER_FULL 4
+#define OSD_MIXER_count 5
+
#define SUBTITLESIZE_count 7
#define HIDDEN_OPTION(opt) \
@@ -163,6 +171,7 @@ class config_t {
static const char *s_speakerArrangements[];
static const char *s_subtitleSizes[];
static const char *s_subExts[];
+ static const char *s_osdMixers[];
public:
@@ -211,6 +220,7 @@ class config_t {
// OSD settings
eMainMenuMode main_menu_mode; // used internally to open right sub-menu
int hide_main_menu;
+ int osd_mixer; // show multiple OSD layers
int prescale_osd;
int prescale_osd_downscale;
int unscaled_osd;