Changes after Visual Depth Index API changed from float to int 08/132508/1
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 6 Jun 2017 09:59:35 +0000 (10:59 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 6 Jun 2017 09:59:35 +0000 (10:59 +0100)
Change-Id: Ib83c1baedd1b5489bbb1fb94bef8c9c64b2df26f

examples/transitions/shadow-button-impl.cpp

index 403a355..135ea16 100644 (file)
@@ -353,22 +353,22 @@ void ShadowButton::ResetVisual(
     {
       case Demo::ShadowButton::Property::BACKGROUND_VISUAL:
       {
     {
       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:
       {
         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:
       {
         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:
       {
         break;
       }
       case Demo::ShadowButton::Property::LABEL_VISUAL:
       {
-        DevelControl::RegisterVisual( *this, index, visual, 1.0f );
+        DevelControl::RegisterVisual( *this, index, visual, 1 );
         break;
       }
     }
         break;
       }
     }