Commit 88eb6ec11b7bd9a5de79f117efbfad24358d9997
Committed by
Gerrit Code Review
Merge "Apply changed API of BackgroundBlurEffect" into devel/master
Showing
1 changed file
with
7 additions
and
7 deletions
examples/render-effects/render-effects-example.cpp
| ... | ... | @@ -75,7 +75,7 @@ public: |
| 75 | 75 | UIPanel.SetProperty(Actor::Property::SIZE, size * 0.8f); |
| 76 | 76 | UIPanel.SetProperty(Actor::Property::PARENT_ORIGIN, ParentOrigin::CENTER); |
| 77 | 77 | window.Add(UIPanel); |
| 78 | - UIPanel.SetRenderEffect(Toolkit::BackgroundBlurEffect::New(0.4f, 40, 10.0f)); | |
| 78 | + UIPanel.SetRenderEffect(Toolkit::BackgroundBlurEffect::New(0.4f, 40)); | |
| 79 | 79 | |
| 80 | 80 | // Welcome message |
| 81 | 81 | { |
| ... | ... | @@ -132,7 +132,7 @@ public: |
| 132 | 132 | label.Add(unitLabel); |
| 133 | 133 | |
| 134 | 134 | UIPanel.Add(weatherPanel); |
| 135 | - weatherPanel.SetRenderEffect(Toolkit::BackgroundBlurEffect::New(0.4f, 40, 10.0f)); | |
| 135 | + weatherPanel.SetRenderEffect(Toolkit::BackgroundBlurEffect::New(0.4f, 40)); | |
| 136 | 136 | } |
| 137 | 137 | |
| 138 | 138 | // Icon mini panels |
| ... | ... | @@ -146,25 +146,25 @@ public: |
| 146 | 146 | control.SetProperty(Actor::Property::POSITION, Vector2(-x_incrementer, y_starter)); |
| 147 | 147 | control.SetProperty(Actor::Property::PARENT_ORIGIN, ParentOrigin::TOP_CENTER); |
| 148 | 148 | UIPanel.Add(control); |
| 149 | - control.SetRenderEffect(Toolkit::BackgroundBlurEffect::New(0.4f, 40, 10.0f)); | |
| 149 | + control.SetRenderEffect(Toolkit::BackgroundBlurEffect::New(0.4f, 40)); | |
| 150 | 150 | |
| 151 | 151 | control = CreateIconPanel("BlueTooth", "2 devices", true, DEMO_IMAGE_DIR "application-icon-14.png", iconPanelSize); |
| 152 | 152 | control.SetProperty(Actor::Property::POSITION, Vector2(x_incrementer, y_starter)); |
| 153 | 153 | control.SetProperty(Actor::Property::PARENT_ORIGIN, ParentOrigin::TOP_CENTER); |
| 154 | 154 | UIPanel.Add(control); |
| 155 | - control.SetRenderEffect(Toolkit::BackgroundBlurEffect::New(0.4f, 40, 10.0f)); | |
| 155 | + control.SetRenderEffect(Toolkit::BackgroundBlurEffect::New(0.4f, 40)); | |
| 156 | 156 | |
| 157 | 157 | control = CreateIconPanel("Wi-Fi", "TizenUIFW", true, DEMO_IMAGE_DIR "application-icon-55.png", iconPanelSize); |
| 158 | 158 | control.SetProperty(Actor::Property::POSITION, Vector2(-x_incrementer, y_starter + y_incrementer)); |
| 159 | 159 | control.SetProperty(Actor::Property::PARENT_ORIGIN, ParentOrigin::TOP_CENTER); |
| 160 | 160 | UIPanel.Add(control); |
| 161 | - control.SetRenderEffect(Toolkit::BackgroundBlurEffect::New(0.4f, 40, 10.0f)); | |
| 161 | + control.SetRenderEffect(Toolkit::BackgroundBlurEffect::New(0.4f, 40)); | |
| 162 | 162 | |
| 163 | 163 | control = CreateIconPanel("Lighting", "5 devices", true, DEMO_IMAGE_DIR "application-icon-21.png", iconPanelSize); |
| 164 | 164 | control.SetProperty(Actor::Property::POSITION, Vector2(x_incrementer, y_starter + y_incrementer)); |
| 165 | 165 | control.SetProperty(Actor::Property::PARENT_ORIGIN, ParentOrigin::TOP_CENTER); |
| 166 | 166 | UIPanel.Add(control); |
| 167 | - control.SetRenderEffect(Toolkit::BackgroundBlurEffect::New(0.4f, 40, 10.0f)); | |
| 167 | + control.SetRenderEffect(Toolkit::BackgroundBlurEffect::New(0.4f, 40)); | |
| 168 | 168 | } |
| 169 | 169 | |
| 170 | 170 | // Air conditioner |
| ... | ... | @@ -213,7 +213,7 @@ public: |
| 213 | 213 | airConPanel.SetProperty(Toolkit::Control::Property::BACKGROUND, airConPanelDimmer); |
| 214 | 214 | |
| 215 | 215 | UIPanel.Add(airConPanel); |
| 216 | - airConPanel.SetRenderEffect(Toolkit::BackgroundBlurEffect::New(0.4f, 40, 10.0f)); | |
| 216 | + airConPanel.SetRenderEffect(Toolkit::BackgroundBlurEffect::New(0.4f, 40)); | |
| 217 | 217 | } |
| 218 | 218 | |
| 219 | 219 | // lower background layer | ... | ... |