From 8e5284c66a192d7bf616b25b4c95620267d79988 Mon Sep 17 00:00:00 2001 From: Adeel Kazmi Date: Tue, 6 Jun 2017 10:59:35 +0100 Subject: [PATCH] Changes after Visual Depth Index API changed from float to int Change-Id: Ib83c1baedd1b5489bbb1fb94bef8c9c64b2df26f --- examples/transitions/shadow-button-impl.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/transitions/shadow-button-impl.cpp b/examples/transitions/shadow-button-impl.cpp index 403a355..135ea16 100644 --- a/examples/transitions/shadow-button-impl.cpp +++ b/examples/transitions/shadow-button-impl.cpp @@ -353,22 +353,22 @@ void ShadowButton::ResetVisual( { case Demo::ShadowButton::Property::BACKGROUND_VISUAL: { - DevelControl::RegisterVisual( *this, index, visual, 0.0f ); + DevelControl::RegisterVisual( *this, index, visual, 0 ); break; } case Demo::ShadowButton::Property::CHECKBOX_BG_VISUAL: { - DevelControl::RegisterVisual( *this, index, visual, 1.0f ); + DevelControl::RegisterVisual( *this, index, visual, 1 ); break; } case Demo::ShadowButton::Property::CHECKBOX_FG_VISUAL: { - DevelControl::RegisterVisual( *this, index, visual, mCheckState, 2.0f ); + DevelControl::RegisterVisual( *this, index, visual, mCheckState, 2 ); break; } case Demo::ShadowButton::Property::LABEL_VISUAL: { - DevelControl::RegisterVisual( *this, index, visual, 1.0f ); + DevelControl::RegisterVisual( *this, index, visual, 1 ); break; } } -- 2.7.4