aboutsummaryrefslogtreecommitdiffstats
path: root/src/tvtimeconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tvtimeconf.c')
-rw-r--r--src/tvtimeconf.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/tvtimeconf.c b/src/tvtimeconf.c
index 19e2290..5a1ce59 100644
--- a/src/tvtimeconf.c
+++ b/src/tvtimeconf.c
@@ -56,6 +56,7 @@ struct config_s
int aspect;
int debug;
int fullscreen;
+ int alwaysontop;
int priority;
int ntsc_mode;
int send_fields;
@@ -294,6 +295,10 @@ static void parse_option( config_t *ct, xmlNodePtr node )
ct->fullscreen = atoi( curval );
}
+ if( !xmlStrcasecmp( name, BAD_CAST "AlwaysOnTop" ) ) {
+ ct->alwaysontop = atoi( curval );
+ }
+
if( !xmlStrcasecmp( name, BAD_CAST "FramerateMode" ) ) {
ct->framerate = atoi( curval );
}
@@ -682,6 +687,7 @@ config_t *config_new( void )
ct->aspect = 0;
ct->debug = 0;
ct->fullscreen = 0;
+ ct->alwaysontop = 0;
ct->priority = -19;
ct->ntsc_mode = 0;
ct->send_fields = 0;
@@ -1458,6 +1464,11 @@ int config_get_fullscreen( config_t *ct )
return ct->fullscreen;
}
+int config_get_alwaysontop( config_t *ct )
+{
+ return ct->alwaysontop;
+}
+
int config_get_priority( config_t *ct )
{
return ct->priority;

Privacy Policy