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