Add imgui-based Netplay Chat

This commit is contained in:
spycrab
2019-03-17 01:09:06 +01:00
parent 8cfbbbe9dc
commit 7cfb626a83
11 changed files with 184 additions and 22 deletions

View File

@ -8,6 +8,8 @@
#include <QApplication>
#include <QProgressDialog>
#include <imgui.h>
#include "Common/Common.h"
#include "Core/ConfigManager.h"
@ -149,7 +151,8 @@ void Host_RequestRenderWindowSize(int w, int h)
bool Host_UINeedsControllerState()
{
return Settings::Instance().IsControllerStateNeeded();
return Settings::Instance().IsControllerStateNeeded() ||
(ImGui::GetCurrentContext() && ImGui::GetIO().WantCaptureKeyboard);
}
bool Host_UIBlocksControllerState()