From 98924203a6b0607fd995b8165fbb52cbdef18f90 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Felix=20Paul=20K=C3=BChne?= Date: Mon, 18 Dec 2006 11:34:46 +0000 Subject: [PATCH] * added an option to disable the fspanel --- modules/gui/macosx/fspanel.m | 4 ++++ modules/gui/macosx/macosx.m | 8 +++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/modules/gui/macosx/fspanel.m b/modules/gui/macosx/fspanel.m index 56ce136416..85e67fdafc 100644 --- a/modules/gui/macosx/fspanel.m +++ b/modules/gui/macosx/fspanel.m @@ -203,6 +203,10 @@ - (void)fadeIn { + /* in case that the user don't want us to appear, just return here */ + if(! config_GetInt( VLCIntf, "macosx-fspanel" ) ) + return; + if( [self alphaValue] < 1.0 ) { if (![self fadeTimer]) diff --git a/modules/gui/macosx/macosx.m b/modules/gui/macosx/macosx.m index 3dd28e626c..d38a56f931 100644 --- a/modules/gui/macosx/macosx.m +++ b/modules/gui/macosx/macosx.m @@ -73,7 +73,11 @@ void E_(CloseVideoGL) ( vlc_object_t * ); #define BACKGROUND_TEXT N_("Use as Desktop Background") #define BACKGROUND_LONGTEXT N_("Use the video as the Desktop Background " \ "Desktop icons cannot be interacted with in this mode." ) - + +#define FSPANEL_TEXT N_("Show Fullscreen controller") +#define FSPANEL_LONGTEXT N_("Shows a lucent controller when moving the mouse " \ + "in fullscreen mode.") + #define WIZARD_OPTIONS_SAVING_TEXT N_("Remember wizard options") #define WIZARD_OPTIONS_SAVING_LONGTEXT N_("Remember the options in the " \ "wizard during one session of VLC.") @@ -92,6 +96,8 @@ vlc_module_begin(); VLC_FALSE ); add_bool( "macosx-autoplay", 1, NULL, AUTOPLAY_OSX_TEST, AUTOPLAY_OSX_LONGTEXT, VLC_FALSE ); + add_bool( "macosx-fspanel", 1, NULL, FSPANEL_TEXT, FSPANEL_LONGTEXT, + VLC_FALSE ); add_bool( "macosx-wizard-keep", 1, NULL, WIZARD_OPTIONS_SAVING_TEXT, WIZARD_OPTIONS_SAVING_LONGTEXT, VLC_TRUE ); -- 2.20.1