Commit 7edb3125 authored by André Weber's avatar André Weber

Added AtmoLight tab inside video effects dialog

allows only to control some important options of the AtmoLight module, which control the color calculation.
Hardware setup has to be done inside the normal video filter setup.
parent f0051192
......@@ -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
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment