Merge "Text memory profiling" into devel/master
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Mon, 2 Oct 2017 15:31:17 +0000 (15:31 +0000)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Mon, 2 Oct 2017 15:31:17 +0000 (15:31 +0000)
examples/image-view-svg/image-view-svg-example.cpp
examples/pivot/pivot-example.cpp
examples/text-label/text-label-example.cpp
examples/text-overlap/text-overlap-example.cpp

index a264ca5..fa89c05 100644 (file)
@@ -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.
@@ -123,8 +123,8 @@ public:
     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
index 9ea5f47..fe62dcf 100644 (file)
@@ -116,7 +116,7 @@ private:
   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 );
index f2b0802..d3218a6 100644 (file)
@@ -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.
@@ -238,7 +238,7 @@ public:
     mContainer.Add( mBorder );
     mBorder.SetVisible(false);
 
-    DevelActor::RaiseToTop(mGrabCorner);
+    mGrabCorner.RaiseToTop();
 
     mHueAngleIndex = mLabel.RegisterProperty( "hue", 0.0f );
     Renderer bgRenderer = mLabel.GetRendererAt(0);
index 560ebe0..f5609bd 100644 (file)
@@ -113,7 +113,7 @@ void TextOverlapController::Destroy( Application& app )
 bool TextOverlapController::OnClicked( Button button )
 {
   mTopmostLabel = 1-mTopmostLabel; // toggles between 0 and 1
-  DevelActor::RaiseToTop(mLabels[mTopmostLabel]);
+  mLabels[mTopmostLabel].RaiseToTop();
   return false;
 }