- mOnLabel = TextLabel::New( "Blur ON" );
- mOnLabel.SetAnchorPoint( AnchorPoint::TOP_LEFT );
- mOnLabel.SetProperty( TextLabel::Property::TEXT_COLOR, Color::GREEN );
- mOnLabel.SetVisible( false );
- onTop.Add( mOnLabel );
+ mOnLabel = TextLabel::New("Blur ON");
+ mOnLabel.SetProperty(Actor::Property::ANCHOR_POINT, AnchorPoint::TOP_LEFT);
+ mOnLabel.SetProperty(TextLabel::Property::TEXT_COLOR, Color::GREEN);
+ mOnLabel.SetProperty(Actor::Property::VISIBLE, false);
+ onTop.Add(mOnLabel);
+
+ mOffLabel = TextLabel::New("Blur OFF");
+ mOffLabel.SetProperty(Actor::Property::ANCHOR_POINT, AnchorPoint::TOP_LEFT);
+ mOffLabel.SetProperty(TextLabel::Property::TEXT_COLOR, Color::WHITE);
+ mOffLabel.SetProperty(Actor::Property::VISIBLE, true);
+ onTop.Add(mOffLabel);
+
+ mGaussianBlurView = GaussianBlurView::New(30, 8.0f, Pixel::RGBA8888, 0.5f, 0.5f, false);
+ mGaussianBlurView.SetProperty(Actor::Property::PARENT_ORIGIN, ParentOrigin::CENTER);
+ mGaussianBlurView.SetProperty(Actor::Property::ANCHOR_POINT, AnchorPoint::CENTER);
+ mGaussianBlurView.SetProperty(Actor::Property::SIZE, windowSize);
+ window.Add(mGaussianBlurView);