Duckstation/src/core/imgui_overlays.h

31 lines
680 B
C
Raw Normal View History

// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once
2023-08-13 06:28:28 +00:00
#include "util/imgui_manager.h"
namespace ImGuiManager {
void RenderTextOverlays();
2023-08-23 12:06:48 +00:00
void RenderDebugWindows();
void RenderOverlayWindows();
2023-08-23 12:06:48 +00:00
} // namespace ImGuiManager
namespace SaveStateSelectorUI {
static constexpr float DEFAULT_OPEN_TIME = 5.0f;
bool IsOpen();
void Open(float open_time = DEFAULT_OPEN_TIME);
void RefreshList();
void DestroyTextures();
void Close(bool reset_slot = false);
void SelectNextSlot();
void SelectPreviousSlot();
void LoadCurrentSlot();
void SaveCurrentSlot();
} // namespace SaveStateSelectorUI