*
*/
+// INTERNAL INCLUDES
#include <dali-toolkit/internal/controls/scrollable/scroll-view/scroll-view-effect-impl.h>
#include <dali-toolkit/internal/controls/scrollable/scroll-view/scroll-view-impl.h>
namespace Dali
{
-
namespace Toolkit
{
-
namespace Internal
{
-
ScrollViewEffect::ScrollViewEffect()
: mScrollViewImpl(NULL)
{
void ScrollViewEffect::Attach(Toolkit::ScrollView& scrollView)
{
- DALI_ASSERT_ALWAYS( (!mScrollViewImpl) && "Already attached to a ScrollView" );
+ DALI_ASSERT_ALWAYS((!mScrollViewImpl) && "Already attached to a ScrollView");
mScrollViewImpl = &GetImpl(scrollView);
void ScrollViewEffect::Detach(Toolkit::ScrollView& scrollView)
{
- DALI_ASSERT_ALWAYS( (mScrollViewImpl) && "Already detached from ScrollView" );
- DALI_ASSERT_ALWAYS( (&GetImpl(scrollView) == mScrollViewImpl) && "Effect attached to a different ScrollView");
+ DALI_ASSERT_ALWAYS((mScrollViewImpl) && "Already detached from ScrollView");
+ DALI_ASSERT_ALWAYS((&GetImpl(scrollView) == mScrollViewImpl) && "Effect attached to a different ScrollView");
OnDetach(scrollView);
{
DALI_ASSERT_ALWAYS(mScrollViewImpl);
- return DownCast<Toolkit::ScrollView>( mScrollViewImpl->Self() );
+ return DownCast<Toolkit::ScrollView>(mScrollViewImpl->Self());
}
} // namespace Internal