Commit 8e5284c66a192d7bf616b25b4c95620267d79988

Authored by Adeel Kazmi
1 parent 6f37619b

Changes after Visual Depth Index API changed from float to int

Change-Id: Ib83c1baedd1b5489bbb1fb94bef8c9c64b2df26f
examples/transitions/shadow-button-impl.cpp
@@ -353,22 +353,22 @@ void ShadowButton::ResetVisual( @@ -353,22 +353,22 @@ void ShadowButton::ResetVisual(
353 { 353 {
354 case Demo::ShadowButton::Property::BACKGROUND_VISUAL: 354 case Demo::ShadowButton::Property::BACKGROUND_VISUAL:
355 { 355 {
356 - DevelControl::RegisterVisual( *this, index, visual, 0.0f ); 356 + DevelControl::RegisterVisual( *this, index, visual, 0 );
357 break; 357 break;
358 } 358 }
359 case Demo::ShadowButton::Property::CHECKBOX_BG_VISUAL: 359 case Demo::ShadowButton::Property::CHECKBOX_BG_VISUAL:
360 { 360 {
361 - DevelControl::RegisterVisual( *this, index, visual, 1.0f ); 361 + DevelControl::RegisterVisual( *this, index, visual, 1 );
362 break; 362 break;
363 } 363 }
364 case Demo::ShadowButton::Property::CHECKBOX_FG_VISUAL: 364 case Demo::ShadowButton::Property::CHECKBOX_FG_VISUAL:
365 { 365 {
366 - DevelControl::RegisterVisual( *this, index, visual, mCheckState, 2.0f ); 366 + DevelControl::RegisterVisual( *this, index, visual, mCheckState, 2 );
367 break; 367 break;
368 } 368 }
369 case Demo::ShadowButton::Property::LABEL_VISUAL: 369 case Demo::ShadowButton::Property::LABEL_VISUAL:
370 { 370 {
371 - DevelControl::RegisterVisual( *this, index, visual, 1.0f ); 371 + DevelControl::RegisterVisual( *this, index, visual, 1 );
372 break; 372 break;
373 } 373 }
374 } 374 }