FullscreenUI: Re-enable most previously-missing settings

This commit is contained in:
Connor McLaughlin
2022-08-26 01:26:55 +10:00
parent cac2714555
commit cab51c6764
24 changed files with 1229 additions and 1244 deletions

View File

@@ -509,6 +509,14 @@ void NoGUIHost::ProcessPlatformKeyEvent(s32 key, bool pressed)
});
}
void NoGUIHost::ProcessPlatformTextEvent(const char* text)
{
if (!ImGuiManager::WantsTextInput())
return;
Host::RunOnCPUThread([text = std::string(text)]() { ImGuiManager::AddTextInput(std::move(text)); });
}
void NoGUIHost::PlatformWindowFocusGained()
{
Host::RunOnCPUThread([]() {
@@ -847,6 +855,16 @@ void Host::RequestResizeHostDisplay(s32 width, s32 height)
g_nogui_window->RequestRenderWindowSize(width, height);
}
void Host::OpenURL(const std::string_view& url)
{
g_nogui_window->OpenURL(url);
}
bool Host::CopyTextToClipboard(const std::string_view& text)
{
return g_nogui_window->CopyTextToClipboard(text);
}
void Host::OnPerformanceCountersUpdated()
{
// noop