shadPS4/src/imgui/big_picture/big_picture.h
rainmakerv2 ad102a173a
Imgui: make imgui emulator settings accessible with hotkey (#4345)
* put all big picture files in same folder

* Fix includes

* Update main.cpp

* make imgui settings dialog accessible by hotkey
2026-05-04 13:51:08 +03:00

29 lines
664 B
C++

// SPDX-FileCopyrightText: Copyright 2025 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <filesystem>
#include <vector>
#include <SDL3/SDL.h>
#include <imgui.h>
#include "common/types.h"
namespace BigPictureMode {
struct IconInfo {
ImTextureID textureId;
std::filesystem::path ebootPath;
std::string title;
std::string serial;
bool focusState;
};
void Launch(char* executableName);
void GetGameIconInfo(std::vector<IconInfo>& icons);
SDL_Texture* LoadSdlTextureData(std::vector<u8> data);
SDL_Texture* LoadSdlTextureDataFromFile(std::filesystem::path filePath);
} // namespace BigPictureMode