From: Adeel Kazmi Date: Tue, 6 Jun 2017 09:59:35 +0000 (+0100) Subject: Changes after Visual Depth Index API changed from float to int X-Git-Tag: dali_1.2.43~3 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-demo.git;a=commitdiff_plain;h=8e5284c66a192d7bf616b25b4c95620267d79988 Changes after Visual Depth Index API changed from float to int Change-Id: Ib83c1baedd1b5489bbb1fb94bef8c9c64b2df26f --- 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; } }