]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/components/extended_panels.cpp
Added AtmoLight tab inside video effects dialog
[vlc] / modules / gui / qt4 / components / extended_panels.cpp
index f12624bc0fe3be20bb43362a5707cdaffdcfcb95..dfc994dddac3aa565e7f420ce73ef3fbf13cfa9c 100644 (file)
@@ -205,6 +205,23 @@ ExtVideo::ExtVideo( intf_thread_t *_p_intf, QTabWidget *_parent ) :
     SETUP_VFILTER_OPTION( logoXSpin, valueChanged( int ) )
     SETUP_VFILTER_OPTION( logoTransparencySlider, valueChanged( int ) )
 
+    if( module_exists( "atmo" ) )
+    {
+        SETUP_VFILTER( atmo )
+        SETUP_VFILTER_OPTION( atmoEdgeweightningSlider, valueChanged( int ) )
+        SETUP_VFILTER_OPTION( atmoBrightnessSlider, valueChanged( int ) )
+        SETUP_VFILTER_OPTION( atmoDarknesslimitSlider, valueChanged( int ) )
+        SETUP_VFILTER_OPTION( atmoMeanlengthSlider, valueChanged( int ) )
+        SETUP_VFILTER_OPTION( atmoMeanthresholdSlider, valueChanged( int ) )
+        SETUP_VFILTER_OPTION( atmoPercentnewSlider, valueChanged( int ) )
+        SETUP_VFILTER_OPTION( atmoFiltermodeCombo, currentIndexChanged( int ) )
+        SETUP_VFILTER_OPTION( atmoShowdotsCheck, stateChanged( int ) )
+    }
+    else
+    {
+        _parent->removeTab( _parent->indexOf( ui.tab_atmo ) );
+    }
+
 #undef SETUP_VFILTER
 #undef SETUP_VFILTER_OPTION