Add overlays for inputs, settings, and performance in FSUI
This commit is contained in:
@@ -120,6 +120,9 @@ struct EmulatorConfig {
|
||||
std::string fsuiTheme = "Dark";
|
||||
std::string fsuiPromptIconPack = "Auto";
|
||||
std::filesystem::path fsuiBackgroundImagePath = "";
|
||||
bool fsuiShowInputsOverlay = false;
|
||||
bool fsuiShowSettingsOverlay = false;
|
||||
bool fsuiShowPerformanceOverlay = false;
|
||||
|
||||
// Frontend window settings
|
||||
struct WindowSettings {
|
||||
|
||||
@@ -71,6 +71,9 @@ class PandaFsuiAdapter {
|
||||
std::string formatPercent(float value) const;
|
||||
std::string formatInteger(int value) const;
|
||||
std::string formatTitleId(std::uint64_t program_id) const;
|
||||
std::vector<fsui::OverlayTextLine> buildPerformanceOverlayLines() const;
|
||||
std::vector<fsui::OverlayTextLine> buildSettingsOverlayLines() const;
|
||||
std::vector<fsui::InputOverlayDeviceState> buildInputOverlayDevices() const;
|
||||
void openFileAndLaunch();
|
||||
void requestLaunchPath(const std::filesystem::path& path);
|
||||
void requestClassicUi(bool open_settings);
|
||||
|
||||
Reference in New Issue
Block a user