duckstation/src/core/imgui_overlays.h
Stenzek 2c57817803
System: Invalidate display on debug window change
Fixes these windows displaying black if the VM is paused.
2024-10-27 15:15:20 +10:00

40 lines
877 B
C++

// SPDX-FileCopyrightText: 2019-2024 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: CC-BY-NC-ND-4.0
#pragma once
#include "util/imgui_manager.h"
#include <string>
namespace ImGuiManager {
void RenderTextOverlays();
void RenderDebugWindows();
bool UpdateDebugWindowConfig();
void DestroyAllDebugWindows();
void RenderOverlayWindows();
void DestroyOverlayTextures();
} // namespace ImGuiManager
namespace SaveStateSelectorUI {
static constexpr float DEFAULT_OPEN_TIME = 7.5f;
bool IsOpen();
void Open(float open_time = DEFAULT_OPEN_TIME);
void RefreshList(const std::string& serial);
void Clear();
void ClearList();
void Close();
void SelectNextSlot(bool open_selector);
void SelectPreviousSlot(bool open_selector);
s32 GetCurrentSlot();
bool IsCurrentSlotGlobal();
void LoadCurrentSlot();
void SaveCurrentSlot();
} // namespace SaveStateSelectorUI