/*
- * 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.
mPinchGestureDetector.Attach( mStageBackground);
mPinchGestureDetector.DetectedSignal().Connect(this, &ImageSvgController::OnPinch);
- DevelActor::RaiseToTop(changeButton);
- DevelActor::RaiseToTop(resetButton);
+ changeButton.RaiseToTop();
+ resetButton.RaiseToTop();
}
// Callback of push button, for changing image set
void OnTap( Actor actor, const TapGesture& /* tap */ )
{
// Raise the actor to the top.
- DevelActor::RaiseToTop( actor );
+ actor.RaiseToTop();
// Create the animation to rotate and scale our actor.
Animation animation = Animation::New( 1.0f );
/*
- * 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.
mContainer.Add( mBorder );
mBorder.SetVisible(false);
- DevelActor::RaiseToTop(mGrabCorner);
+ mGrabCorner.RaiseToTop();
mHueAngleIndex = mLabel.RegisterProperty( "hue", 0.0f );
Renderer bgRenderer = mLabel.GetRendererAt(0);
bool TextOverlapController::OnClicked( Button button )
{
mTopmostLabel = 1-mTopmostLabel; // toggles between 0 and 1
- DevelActor::RaiseToTop(mLabels[mTopmostLabel]);
+ mLabels[mTopmostLabel].RaiseToTop();
return false;
}