mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-01-17 22:25:37 +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(); });
|
||||
}
|
||||
|
||||
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();
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue