Added AchievementSettingsWidget
AchievementSettingsWidget is a dialog widget in AchievementsWindow for handling RetroAchievements settings in the user interface. This class contains the physical layout, widget connections, load/save functions and button responses. AchievementsWindow now has a tabbed list that this is inserted into; other tabs will be in a later pull request.
This commit is contained in:
1 parent
e1e662b86a
commit
df38573ff6
7 files changed
+321
-1
No files matched your search
@@ -44,6 +44,11 @@ bool IsSettingSaveable(const Config::Location& config_location)
|
||||
&Config::RA_ENABLED.GetLocation(),
|
||||
&Config::RA_USERNAME.GetLocation(),
|
||||
&Config::RA_API_TOKEN.GetLocation(),
|
||||
&Config::RA_ACHIEVEMENTS_ENABLED.GetLocation(),
|
||||
&Config::RA_LEADERBOARDS_ENABLED.GetLocation(),
|
||||
&Config::RA_RICH_PRESENCE_ENABLED.GetLocation(),
|
||||
&Config::RA_UNOFFICIAL_ENABLED.GetLocation(),
|
||||
&Config::RA_ENCORE_ENABLED.GetLocation(),
|
||||
};
|
||||
|
||||
return std::any_of(begin(s_setting_saveable), end(s_setting_saveable),
|
||||
|
||||
Reference in new issue
Block a user