vtuis/videotelui/src/CVtUiAppUi.cpp
branchRCL_3
changeset 20 b95d12697049
parent 18 e1a893011fac
child 22 f544d10663bf
equal deleted inserted replaced
18:e1a893011fac 20:b95d12697049
  1762     CVtUiContrast* contr = static_cast< CVtUiContrast* >(
  1762     CVtUiContrast* contr = static_cast< CVtUiContrast* >(
  1763     iFeatureManager->GetFeatureById( EVtUiFeatureIdContrast ) );
  1763     iFeatureManager->GetFeatureById( EVtUiFeatureIdContrast ) );
  1764     
  1764     
  1765 
  1765 
  1766     
  1766     
  1767     if ( wb && iUiStates->IsWhiteBalanceSettingAvailable() )
  1767     if ( wb && wb->State() == MVtUiFeature::EActive )
  1768         {
  1768         {
  1769         __VTPRINT( DEBUG_GEN,"VtUi.UpdateVBSettingL WB update" )
  1769         if ( iUiStates->IsWhiteBalanceSettingAvailable() )
  1770         wb->UpdateSettingL();
  1770             {
  1771         }
  1771             __VTPRINT( DEBUG_GEN,"VtUi.UpdateVBSettingL WB update" )
  1772 
  1772             wb->UpdateSettingL();
  1773     if ( ct && iUiStates->IsColorToneSettingAvailable() )
  1773             }
  1774         {
  1774         }
  1775         __VTPRINT( DEBUG_GEN,"VtUi.UpdateVBSettingL CT update" )
  1775 
  1776         ct->UpdateSettingL();
  1776     if ( ct && ct->State() == MVtUiFeature::EActive )
       
  1777         {
       
  1778         if ( iUiStates->IsColorToneSettingAvailable() )
       
  1779             {
       
  1780             __VTPRINT( DEBUG_GEN,"VtUi.UpdateVBSettingL CT update" )
       
  1781             ct->UpdateSettingL();
       
  1782             }
  1777         }
  1783         }
  1778     
  1784     
  1779     if ( br && iUiStates->IsBrightnessSettingAvailable() )
  1785     if ( br && br->State() == MVtUiFeature::EActive )
  1780         {
  1786         {
  1781         __VTPRINT( DEBUG_GEN,"VtUi.UpdateVBSettingL br update" )
  1787         if ( iUiStates->IsBrightnessSettingAvailable() )
  1782         br->UpdateSlider();
  1788             {
       
  1789             __VTPRINT( DEBUG_GEN,"VtUi.UpdateVBSettingL br update" )
       
  1790             br->UpdateSlider();
       
  1791             }
  1783         }
  1792         }
  1784     
  1793     
  1785     if ( contr && iUiStates->IsContrastSettingAvailable() )
  1794     if ( contr && contr->State() == MVtUiFeature::EActive )
  1786         {
  1795         {
  1787         __VTPRINT( DEBUG_GEN,"VtUi.UpdateVBSettingL contract update" )
  1796         if ( iUiStates->IsContrastSettingAvailable() )
  1788         contr->UpdateSlider();
  1797             {
       
  1798             __VTPRINT( DEBUG_GEN,"VtUi.UpdateVBSettingL contract update" )
       
  1799             contr->UpdateSlider();
       
  1800             }
  1789         }
  1801         }
  1790     }
  1802     }
  1791 
  1803 
  1792 // -----------------------------------------------------------------------------
  1804 // -----------------------------------------------------------------------------
  1793 // CVtUiAppUi::TryToStartTb
  1805 // CVtUiAppUi::TryToStartTb