X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fcontrols%2Fcontrol-wrapper-impl.cpp;h=37def2b4f5c24b6969940077cf33cc43119297a7;hp=d3fcc5698ce0237c9016f356a964496715280221;hb=d28d8f3cbe9319ce809582b7a0becccc374d8192;hpb=ceef53ad56a8e9004014dc1c320127e64f90acff diff --git a/dali-toolkit/devel-api/controls/control-wrapper-impl.cpp b/dali-toolkit/devel-api/controls/control-wrapper-impl.cpp index d3fcc56..37def2b 100755 --- a/dali-toolkit/devel-api/controls/control-wrapper-impl.cpp +++ b/dali-toolkit/devel-api/controls/control-wrapper-impl.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016 Samsung Electronics Co., Ltd. + * Copyright (c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,9 +23,11 @@ #include #include #include +#include // INTERNAL INCLUDES #include +#include #include #include #include @@ -121,37 +123,47 @@ bool ControlWrapper::RelayoutDependentOnChildrenBase( Dimension::Type dimension void ControlWrapper::RegisterVisual( Property::Index index, Toolkit::Visual::Base& visual ) { - Control::RegisterVisual( index, visual ); + DevelControl::RegisterVisual( *this, index, visual ); +} + +void ControlWrapper::RegisterVisual( Property::Index index, Toolkit::Visual::Base& visual, int depthIndex ) +{ + DevelControl::RegisterVisual( *this, index, visual, depthIndex ); } void ControlWrapper::RegisterVisual( Property::Index index, Toolkit::Visual::Base& visual, bool enabled ) { - Control::RegisterVisual( index, visual, enabled ); + DevelControl::RegisterVisual( *this, index, visual, enabled ); +} + +void ControlWrapper::RegisterVisual( Property::Index index, Toolkit::Visual::Base& visual, bool enabled, int depthIndex ) +{ + DevelControl::RegisterVisual( *this, index, visual, enabled, depthIndex ); } void ControlWrapper::UnregisterVisual( Property::Index index ) { - Control::UnregisterVisual( index ); + DevelControl::UnregisterVisual( *this, index ); } Toolkit::Visual::Base ControlWrapper::GetVisual( Property::Index index ) const { - return Control::GetVisual( index ); + return DevelControl::GetVisual( *this, index ); } void ControlWrapper::EnableVisual( Property::Index index, bool enable ) { - Control::EnableVisual( index, enable ); + DevelControl::EnableVisual( *this, index, enable ); } bool ControlWrapper::IsVisualEnabled( Property::Index index ) const { - return Control::IsVisualEnabled( index ); + return DevelControl::IsVisualEnabled( *this, index ); } Dali::Animation ControlWrapper::CreateTransition( const Toolkit::TransitionData& handle ) { - return Control::CreateTransition( handle ); + return DevelControl::CreateTransition( *this, handle ); } void ControlWrapper::ApplyThemeStyle() @@ -168,6 +180,11 @@ void ControlWrapper::ApplyThemeStyle() } } +Dali::TypeInfo ControlWrapper::GetTypeInfo() +{ + return DevelCustomActor::GetTypeInfo(Self()); +} + } // namespace Internal } // namespace Toolkit