mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-01-30 03:25:39 +00:00
UWP: Fix building (again)
This commit is contained in:
parent
b1c738454f
commit
c8ff143d9b
|
@ -235,6 +235,10 @@ void UWPHostInterface::RequestExit()
|
||||||
[this]() { winrt::Windows::ApplicationModel::Core::CoreApplication::Exit(); });
|
[this]() { winrt::Windows::ApplicationModel::Core::CoreApplication::Exit(); });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void UWPHostInterface::SetMouseMode(bool relative, bool hide_cursor)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
void UWPHostInterface::Run()
|
void UWPHostInterface::Run()
|
||||||
{
|
{
|
||||||
if (!Initialize())
|
if (!Initialize())
|
||||||
|
@ -383,6 +387,14 @@ void UWPHostInterface::RunLater(std::function<void()> callback)
|
||||||
m_queued_callbacks.push_back(std::move(callback));
|
m_queued_callbacks.push_back(std::move(callback));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void UWPHostInterface::OnDisplayInvalidated()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
void UWPHostInterface::OnSystemPerformanceCountersUpdated()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
bool UWPHostInterface::IsFullscreen() const
|
bool UWPHostInterface::IsFullscreen() const
|
||||||
{
|
{
|
||||||
return m_appview.IsFullScreenMode();
|
return m_appview.IsFullScreenMode();
|
||||||
|
|
|
@ -47,6 +47,9 @@ public:
|
||||||
|
|
||||||
void RunLater(std::function<void()> callback) override;
|
void RunLater(std::function<void()> callback) override;
|
||||||
|
|
||||||
|
void OnDisplayInvalidated() override;
|
||||||
|
void OnSystemPerformanceCountersUpdated() override;
|
||||||
|
|
||||||
bool IsFullscreen() const override;
|
bool IsFullscreen() const override;
|
||||||
bool SetFullscreen(bool enabled) override;
|
bool SetFullscreen(bool enabled) override;
|
||||||
|
|
||||||
|
@ -74,6 +77,8 @@ protected:
|
||||||
void PollAndUpdate() override;
|
void PollAndUpdate() override;
|
||||||
void RequestExit() override;
|
void RequestExit() override;
|
||||||
|
|
||||||
|
void SetMouseMode(bool relative, bool hide_cursor) override;
|
||||||
|
|
||||||
bool CreateDisplay(bool fullscreen);
|
bool CreateDisplay(bool fullscreen);
|
||||||
void DestroyDisplay();
|
void DestroyDisplay();
|
||||||
void RunCallbacks();
|
void RunCallbacks();
|
||||||
|
|
Loading…
Reference in a new issue