mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-07 22:55:40 +12:00
Some checks are pending
Android Build / x64 (release) (push) Waiting to run
Android Build / arm64 (release) (push) Waiting to run
HTTP Server Build / build (push) Waiting to run
Hydra Core Build / Windows (push) Waiting to run
Hydra Core Build / MacOS (push) Waiting to run
Hydra Core Build / Linux (push) Waiting to run
Hydra Core Build / Android-x64 (push) Waiting to run
Hydra Core Build / ARM-Libretro (push) Waiting to run
Linux AppImage Build / build (push) Waiting to run
Linux Build / build (push) Waiting to run
MacOS Build / MacOS-arm64 (push) Waiting to run
MacOS Build / MacOS-x86_64 (push) Waiting to run
MacOS Build / MacOS-Universal (push) Blocked by required conditions
Qt Build / Windows (push) Waiting to run
Qt Build / MacOS-arm64 (push) Waiting to run
Qt Build / MacOS-x86_64 (push) Waiting to run
Qt Build / MacOS-Universal (push) Blocked by required conditions
Qt Build / Linux (push) Waiting to run
Windows Build / build (push) Waiting to run
iOS Simulator Build / build (push) Waiting to run
36 lines
904 B
C++
36 lines
904 B
C++
#pragma once
|
|
#include <string>
|
|
|
|
// Some UI settings that aren't fully frontend-dependent. Note: Not all frontends will support the same settings.
|
|
// Note: Any enums should ideally be ordered in the same order we want to show them in UI dropdown menus, so that we can cast indices to enums
|
|
// directly.
|
|
struct FrontendSettings {
|
|
enum class Theme : int {
|
|
System = 0,
|
|
Light = 1,
|
|
Dark = 2,
|
|
GreetingsCat = 3,
|
|
Cream = 4,
|
|
Oled = 5,
|
|
};
|
|
|
|
// Different panda-themed window icons
|
|
enum class WindowIcon : int {
|
|
Rpog = 0,
|
|
Rsyn = 1,
|
|
Rnap = 2,
|
|
Rcow = 3,
|
|
SkyEmu = 4,
|
|
Runpog = 5,
|
|
};
|
|
|
|
Theme theme = Theme::Dark;
|
|
WindowIcon icon = WindowIcon::Rpog;
|
|
std::string language = "en";
|
|
|
|
static Theme themeFromString(std::string inString);
|
|
static const char* themeToString(Theme theme);
|
|
|
|
static WindowIcon iconFromString(std::string inString);
|
|
static const char* iconToString(WindowIcon icon);
|
|
};
|