UWP: Fix building (again)

This commit is contained in:
Connor McLaughlin 2021-10-29 13:53:38 +10:00
parent b1c738454f
commit c8ff143d9b
2 changed files with 17 additions and 0 deletions

View file

@ -235,6 +235,10 @@ void UWPHostInterface::RequestExit()
[this]() { winrt::Windows::ApplicationModel::Core::CoreApplication::Exit(); });
}
void UWPHostInterface::SetMouseMode(bool relative, bool hide_cursor)
{
}
void UWPHostInterface::Run()
{
if (!Initialize())
@ -383,6 +387,14 @@ void UWPHostInterface::RunLater(std::function<void()> callback)
m_queued_callbacks.push_back(std::move(callback));
}
void UWPHostInterface::OnDisplayInvalidated()
{
}
void UWPHostInterface::OnSystemPerformanceCountersUpdated()
{
}
bool UWPHostInterface::IsFullscreen() const
{
return m_appview.IsFullScreenMode();

View file

@ -47,6 +47,9 @@ public:
void RunLater(std::function<void()> callback) override;
void OnDisplayInvalidated() override;
void OnSystemPerformanceCountersUpdated() override;
bool IsFullscreen() const override;
bool SetFullscreen(bool enabled) override;
@ -74,6 +77,8 @@ protected:
void PollAndUpdate() override;
void RequestExit() override;
void SetMouseMode(bool relative, bool hide_cursor) override;
bool CreateDisplay(bool fullscreen);
void DestroyDisplay();
void RunCallbacks();