UI: Massive revamp, new features and improvements
This commit is contained in:
22
src/frontend-common/imgui_overlays.h
Normal file
22
src/frontend-common/imgui_overlays.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#pragma once
|
||||
|
||||
#include "imgui_manager.h"
|
||||
|
||||
namespace ImGuiManager {
|
||||
void RenderOverlays();
|
||||
}
|
||||
|
||||
namespace SaveStateSelectorUI {
|
||||
|
||||
static constexpr float DEFAULT_OPEN_TIME = 5.0f;
|
||||
|
||||
void Open(float open_time = DEFAULT_OPEN_TIME);
|
||||
void Close();
|
||||
|
||||
void SelectNextSlot();
|
||||
void SelectPreviousSlot();
|
||||
|
||||
void LoadCurrentSlot();
|
||||
void SaveCurrentSlot();
|
||||
|
||||
} // namespace SaveStateSelectorUI
|
||||
Reference in New Issue
Block a user