X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=base%2Fdali-toolkit%2Fpublic-api%2Fcontrols%2Fcontrol-impl.cpp;h=975152e1f2fb5f54924fac78ad8ee95d41543b6d;hp=bc97f30cef5d04bd14ccb74547a5136736926777;hb=d9422274305180b56ab8c17fc87c8fda8cfea68b;hpb=0c33391ce2d6825b8207a7561656683a9408b8fd diff --git a/base/dali-toolkit/public-api/controls/control-impl.cpp b/base/dali-toolkit/public-api/controls/control-impl.cpp index bc97f30..975152e 100644 --- a/base/dali-toolkit/public-api/controls/control-impl.cpp +++ b/base/dali-toolkit/public-api/controls/control-impl.cpp @@ -604,7 +604,7 @@ void Control::Initialize() Toolkit::StyleManager styleManager = Toolkit::StyleManager::Get(); // Register for style changes - styleManager.StyleChangeSignal().Connect( this, &ControlImpl::DoStyleChange ); + styleManager.StyleChangeSignal().Connect( this, &Control::DoStyleChange ); // SetTheme GetImpl( styleManager ).ApplyThemeStyle( GetOwner() ); @@ -953,9 +953,6 @@ void Control::DoStyleChange( Toolkit::StyleManager styleManager, StyleChange cha } else if( change.defaultFontChange || change.defaultFontSizeChange ) { - // This OnStyleChange(StyleChange change ) is deprecated, use OnFontChange instead - OnStyleChange( change ); - OnFontChange( change.defaultFontChange, change.defaultFontSizeChange ); } } @@ -1288,12 +1285,6 @@ std::size_t Control::GetConnectionCount() const return mImpl->GetConnectionCount(); } -Control::Control( bool requiresTouchEvents ) -: CustomActorImpl( requiresTouchEvents ), - mImpl(new Impl(*this)) -{ -} - Control::Control( ControlBehaviour behaviourFlags ) : CustomActorImpl( behaviourFlags & REQUIRES_TOUCH_EVENTS ), mImpl(new Impl(*this))