Commit 53d36e45ca8241660e620d8967a4306836373dcc
Committed by
Francisco Santos
1 parent
58e118e1
Removed DepthIndex methods from public-api
Needs: https://review.tizen.org/gerrit/#/c/42196/
https://review.tizen.org/gerrit/#/c/42201/
Change-Id: I21487d2896dabf45009393bdf615d128db6842f3
Signed-off-by: Richard Underhill <r.underhill@partner.samsung.com>
Showing
1 changed file
with
2 additions
and
2 deletions
demo/dali-table-view.cpp
| @@ -283,7 +283,7 @@ void DaliTableView::Initialize( Application& application ) | @@ -283,7 +283,7 @@ void DaliTableView::Initialize( Application& application ) | ||
| 283 | backgroundColourActor.SetSizeModeFactor( Vector3( 1.0f, 1.5f, 1.0f ) ); | 283 | backgroundColourActor.SetSizeModeFactor( Vector3( 1.0f, 1.5f, 1.0f ) ); |
| 284 | 284 | ||
| 285 | // Force the filled background right to the back | 285 | // Force the filled background right to the back |
| 286 | - backgroundColourActor.SetDepthIndex( DemoHelper::BACKGROUND_DEPTH_INDEX ); | 286 | + backgroundColourActor.SetSortModifier( DemoHelper::BACKGROUND_DEPTH_INDEX ); |
| 287 | mScrollViewLayer.Add( backgroundColourActor ); | 287 | mScrollViewLayer.Add( backgroundColourActor ); |
| 288 | 288 | ||
| 289 | // Populate background and bubbles - needs to be scrollViewLayer so scroll ends show | 289 | // Populate background and bubbles - needs to be scrollViewLayer so scroll ends show |
| @@ -769,7 +769,7 @@ void DaliTableView::AddBackgroundActors( Actor layer, int count, BufferImage dis | @@ -769,7 +769,7 @@ void DaliTableView::AddBackgroundActors( Actor layer, int count, BufferImage dis | ||
| 769 | dfActor.SetParentOrigin( ParentOrigin::CENTER ); | 769 | dfActor.SetParentOrigin( ParentOrigin::CENTER ); |
| 770 | 770 | ||
| 771 | // Force the bubbles just in front of the solid background | 771 | // Force the bubbles just in front of the solid background |
| 772 | - dfActor.SetDepthIndex( DemoHelper::BACKGROUND_DEPTH_INDEX + 1 ); | 772 | + dfActor.SetSortModifier( DemoHelper::BACKGROUND_DEPTH_INDEX + 1 ); |
| 773 | 773 | ||
| 774 | ShaderEffect effect = Toolkit::CreateDistanceFieldEffect(); | 774 | ShaderEffect effect = Toolkit::CreateDistanceFieldEffect(); |
| 775 | dfActor.SetShaderEffect( effect ); | 775 | dfActor.SetShaderEffect( effect ); |