Move frontend-common to util/core

This commit is contained in:
Stenzek
2023-08-13 16:28:28 +10:00
parent 5b980dafa5
commit bb60170d9a
144 changed files with 2506 additions and 3180 deletions

28
src/core/imgui_overlays.h Normal file
View File

@@ -0,0 +1,28 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once
#include "util/imgui_manager.h"
namespace ImGuiManager {
void RenderTextOverlays();
void RenderOverlayWindows();
}
namespace SaveStateSelectorUI {
static constexpr float DEFAULT_OPEN_TIME = 5.0f;
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