video: add video
- adds incoming video
- adds webcam preview
- adds device enumeration
- adds daemon video signal handlers
- adds outgoing video
Tuleap: #1200
Change-Id: Ife5f6acc2ee400665e096e44e2111e03cab0299a
diff --git a/WelcomePage.xaml.cpp b/WelcomePage.xaml.cpp
index 1a22547..f61275d 100644
--- a/WelcomePage.xaml.cpp
+++ b/WelcomePage.xaml.cpp
@@ -33,8 +33,8 @@
WelcomePage::PositionImage()
{
Rect imageBounds;
- imageBounds.Width = _welcomePage_->ActualWidth;
- imageBounds.Height = _welcomePage_->ActualWidth;
+ imageBounds.Width = static_cast<float>(_welcomePage_->ActualWidth);
+ imageBounds.Height = static_cast<float>(_welcomePage_->ActualHeight);
_welcomeImage_->SetValue(Canvas::LeftProperty, imageBounds.Width * 0.5 - _welcomeImage_->Width * 0.5);
_welcomeImage_->SetValue(Canvas::TopProperty, imageBounds.Height * 0.5 - _welcomeImage_->Height * 0.5);