Qt: Allow toggling fullscreen when VM is paused
This commit is contained in:
@ -892,6 +892,11 @@ bool ImGuiManager::WantsTextInput()
|
||||
return s_imgui_wants_keyboard.load(std::memory_order_acquire);
|
||||
}
|
||||
|
||||
bool ImGuiManager::WantsMouseInput()
|
||||
{
|
||||
return s_imgui_wants_mouse.load(std::memory_order_acquire);
|
||||
}
|
||||
|
||||
void ImGuiManager::AddTextInput(std::string str)
|
||||
{
|
||||
if (!ImGui::GetCurrentContext())
|
||||
|
||||
@ -69,6 +69,9 @@ ImFont* GetLargeFont();
|
||||
/// Returns true if imgui wants to intercept text input.
|
||||
bool WantsTextInput();
|
||||
|
||||
/// Returns true if imgui wants to intercept mouse input.
|
||||
bool WantsMouseInput();
|
||||
|
||||
/// Called on the UI or CPU thread in response to a key press. String is UTF-8.
|
||||
void AddTextInput(std::string str);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user