Isolate default URL in its own file, for convenience

This commit is contained in:
Paul Rouget 2019-09-20 08:03:53 +02:00
parent 748fa72320
commit 4490b2de9a
4 changed files with 8 additions and 2 deletions

View file

@ -2,6 +2,7 @@
#include "ServoControl.g.h"
#include "OpenGLES.h"
#include "Servo.h"
#include "DefaultUrl.h"
namespace winrt::ServoApp::implementation {
struct ServoControl : ServoControlT<ServoControl>, public servo::ServoDelegate {
@ -95,7 +96,7 @@ private:
winrt::event<EventDelegate> mOnCaptureGesturesEndedEvent;
float mDPI = 1;
hstring mInitialURL = L"about:blank";
hstring mInitialURL = DEFAULT_URL;
bool mTransient = false;
Windows::UI::Xaml::Controls::SwapChainPanel ServoControl::Panel();