mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-06-04 15:05:02 -06:00
* put all big picture files in same folder * Fix includes * Update main.cpp * make imgui settings dialog accessible by hotkey
29 lines
664 B
C++
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
|