Cleaned up image scaling and filtering example by removing (commented out unneeded... 94/44394/2
authorChu Hoang <c.hoang@samsung.com>
Tue, 21 Jul 2015 10:24:55 +0000 (11:24 +0100)
committerChu Hoang <c.hoang@samsung.com>
Tue, 21 Jul 2015 10:27:35 +0000 (03:27 -0700)
Change-Id: I8bed95f8669a9ee5891ab88262f5c559bc3432f1

examples/image-scaling-and-filtering/image-scaling-and-filtering-example.cpp

index 65068fc..aaf977f 100644 (file)
@@ -207,19 +207,16 @@ public:
     mDesiredBox.SetParentOrigin( ParentOrigin::CENTER );
     mDesiredBox.SetAnchorPoint( AnchorPoint::CENTER );
     mDesiredBox.SetPosition( 0, 0, -1 );
-    //mDesiredBox.SetSortModifier(4.f);
 
     mHeightBox.SetSize( stage.GetSize().width,  (stage.GetSize() * mImageStageScale).height );
     mHeightBox.SetParentOrigin( ParentOrigin::CENTER );
     mHeightBox.SetAnchorPoint( AnchorPoint::CENTER );
     mHeightBox.SetPosition( 0, 0, -1 );
-    //mHeightBox.SetSortModifier(3.f);
 
     mWidthBox.SetSize( (stage.GetSize() * mImageStageScale).width, stage.GetSize().height );
     mWidthBox.SetParentOrigin( ParentOrigin::CENTER );
     mWidthBox.SetAnchorPoint( AnchorPoint::CENTER );
     mWidthBox.SetPosition( 0, 0, -1 );
-    //mWidthBox.SetSortModifier(2.f);
 
     // Make a grab-handle for resizing the image:
     mGrabCorner = Toolkit::PushButton::New();