diff --git a/support/hololens/ServoApp/Assets/UI/back.png b/support/hololens/ServoApp/Assets/UI/back.png new file mode 100644 index 00000000000..f22e1abfd2d Binary files /dev/null and b/support/hololens/ServoApp/Assets/UI/back.png differ diff --git a/support/hololens/ServoApp/Assets/UI/forward.png b/support/hololens/ServoApp/Assets/UI/forward.png new file mode 100644 index 00000000000..de953a75f22 Binary files /dev/null and b/support/hololens/ServoApp/Assets/UI/forward.png differ diff --git a/support/hololens/ServoApp/Assets/UI/reload.png b/support/hololens/ServoApp/Assets/UI/reload.png new file mode 100644 index 00000000000..374a66a57a7 Binary files /dev/null and b/support/hololens/ServoApp/Assets/UI/reload.png differ diff --git a/support/hololens/ServoApp/Assets/UI/stop.png b/support/hololens/ServoApp/Assets/UI/stop.png new file mode 100644 index 00000000000..181ede7b298 Binary files /dev/null and b/support/hololens/ServoApp/Assets/UI/stop.png differ diff --git a/support/hololens/ServoApp/BrowserPage.cpp b/support/hololens/ServoApp/BrowserPage.cpp index 1a9b2073bbd..a4d5fcd2a94 100644 --- a/support/hololens/ServoApp/BrowserPage.cpp +++ b/support/hololens/ServoApp/BrowserPage.cpp @@ -28,12 +28,18 @@ void BrowserPage::BindServoEvents() { forwardButton().IsEnabled(forward); }); servoControl().OnLoadStarted([=] { + throbber().IsActive(true); reloadButton().IsEnabled(false); + reloadButton().Visibility(Visibility::Collapsed); stopButton().IsEnabled(true); + stopButton().Visibility(Visibility::Visible); }); servoControl().OnLoadEnded([=] { + throbber().IsActive(false); reloadButton().IsEnabled(true); + reloadButton().Visibility(Visibility::Visible); stopButton().IsEnabled(false); + stopButton().Visibility(Visibility::Collapsed); }); servoControl().OnCaptureGesturesStarted([=] { servoControl().Focus(FocusState::Programmatic); diff --git a/support/hololens/ServoApp/BrowserPage.xaml b/support/hololens/ServoApp/BrowserPage.xaml index 50f5c7972ab..5255b3a4ab5 100644 --- a/support/hololens/ServoApp/BrowserPage.xaml +++ b/support/hololens/ServoApp/BrowserPage.xaml @@ -7,25 +7,105 @@ xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"> + + + - + - + + + - + + diff --git a/support/hololens/ServoApp/ServoApp.vcxproj b/support/hololens/ServoApp/ServoApp.vcxproj index 1f2683fe753..2c8ce4ca740 100644 --- a/support/hololens/ServoApp/ServoApp.vcxproj +++ b/support/hololens/ServoApp/ServoApp.vcxproj @@ -948,6 +948,10 @@ + + + + diff --git a/support/hololens/ServoApp/ServoApp.vcxproj.filters b/support/hololens/ServoApp/ServoApp.vcxproj.filters index ab7d443ea8c..b8266255b83 100644 --- a/support/hololens/ServoApp/ServoApp.vcxproj.filters +++ b/support/hololens/ServoApp/ServoApp.vcxproj.filters @@ -123,6 +123,18 @@ Assets + + Assets\UI + + + Assets\UI + + + Assets\UI + + + Assets\UI + @@ -876,6 +888,9 @@ {d21a959c-19d1-4a54-b942-692c27e5b3a6} + + {d49fe329-5e22-4470-8310-5b925419e6f8} +