gui: Implement settings dialog

This commit is contained in:
Dzmitry Dubrova 2024-08-09 17:09:51 +03:00
parent ea4ae56f4d
commit 96fb00d411
7 changed files with 900 additions and 2 deletions

View file

@ -29,6 +29,24 @@ bool dumpPM4();
bool isRdocEnabled();
u32 vblankDiv();
void setDebugDump(bool enable);
void setShowSplash(bool enable);
void setNullGpu(bool enable);
void setDumpShaders(bool enable);
void setDumpPM4(bool enable);
void setVblankDiv(u32 value);
void setScreenWidth(u32 width);
void setScreenHeight(u32 height);
void setFullscreenMode(bool enable);
void setNeoMode(bool enable);
void setLogType(std::string type);
void setLogFilter(std::string type);
void setVkValidation(bool enable);
void setVkSyncValidation(bool enable);
void setRdocEnabled(bool enable);
bool vkValidationEnabled();
bool vkValidationSyncEnabled();
@ -64,7 +82,8 @@ std::vector<std::string> getPkgViewer();
std::vector<std::string> getElfViewer();
std::vector<std::string> getRecentFiles();
void setDefaultValues();
// settings
u32 GetLanguage();
}; // namespace Config