Commit 11afe5f0186c15fd7a51abb201a19408d098675c

Authored by Chu Hoang
1 parent 2e5d1124

Cleaned up image scaling and filtering example by removing (commented out unneeded) SetSortModifier.

Change-Id: I8bed95f8669a9ee5891ab88262f5c559bc3432f1
examples/image-scaling-and-filtering/image-scaling-and-filtering-example.cpp
... ... @@ -207,19 +207,16 @@ public:
207 207 mDesiredBox.SetParentOrigin( ParentOrigin::CENTER );
208 208 mDesiredBox.SetAnchorPoint( AnchorPoint::CENTER );
209 209 mDesiredBox.SetPosition( 0, 0, -1 );
210   - //mDesiredBox.SetSortModifier(4.f);
211 210  
212 211 mHeightBox.SetSize( stage.GetSize().width, (stage.GetSize() * mImageStageScale).height );
213 212 mHeightBox.SetParentOrigin( ParentOrigin::CENTER );
214 213 mHeightBox.SetAnchorPoint( AnchorPoint::CENTER );
215 214 mHeightBox.SetPosition( 0, 0, -1 );
216   - //mHeightBox.SetSortModifier(3.f);
217 215  
218 216 mWidthBox.SetSize( (stage.GetSize() * mImageStageScale).width, stage.GetSize().height );
219 217 mWidthBox.SetParentOrigin( ParentOrigin::CENTER );
220 218 mWidthBox.SetAnchorPoint( AnchorPoint::CENTER );
221 219 mWidthBox.SetPosition( 0, 0, -1 );
222   - //mWidthBox.SetSortModifier(2.f);
223 220  
224 221 // Make a grab-handle for resizing the image:
225 222 mGrabCorner = Toolkit::PushButton::New();
... ...