mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-16 17:05:46 -04:00
Added a toggle for persistent message. (#2106)
* Added a toggle for persistent message. Added a toggle to display settings to disable persistent messages (ff, pause) in the fullscreen UI. * Moved toggle for the icons to advanced settings. Moved the toggle to the advanced settings as suggested. Renamed the option from "show persistent messages" to "show speed icons", so that it's much more specific.
This commit is contained in:

committed by
Connor McLaughlin

parent
63b70e6c0c
commit
1fa4460590
@ -492,6 +492,7 @@ void HostInterface::SetDefaultSettings(SettingsInterface& si)
|
||||
si.SetBoolValue("Main", "ApplyGameSettings", true);
|
||||
si.SetBoolValue("Main", "AutoLoadCheats", true);
|
||||
si.SetBoolValue("Main", "DisableAllEnhancements", false);
|
||||
si.SetBoolValue("Main", "ShowSpeedIcons", true);
|
||||
si.SetBoolValue("Main", "RewindEnable", false);
|
||||
si.SetFloatValue("Main", "RewindFrequency", 10.0f);
|
||||
si.SetIntValue("Main", "RewindSaveSlots", 10);
|
||||
|
@ -166,6 +166,7 @@ void Settings::Load(SettingsInterface& si)
|
||||
apply_game_settings = si.GetBoolValue("Main", "ApplyGameSettings", true);
|
||||
auto_load_cheats = si.GetBoolValue("Main", "AutoLoadCheats", true);
|
||||
disable_all_enhancements = si.GetBoolValue("Main", "DisableAllEnhancements", false);
|
||||
show_speed_icons = si.GetBoolValue("Main", "ShowSpeedIcons", true);
|
||||
rewind_enable = si.GetBoolValue("Main", "RewindEnable", false);
|
||||
rewind_save_frequency = si.GetFloatValue("Main", "RewindFrequency", 10.0f);
|
||||
rewind_save_slots = static_cast<u32>(si.GetIntValue("Main", "RewindSaveSlots", 10));
|
||||
@ -358,6 +359,7 @@ void Settings::Save(SettingsInterface& si) const
|
||||
si.SetBoolValue("Main", "ApplyGameSettings", apply_game_settings);
|
||||
si.SetBoolValue("Main", "AutoLoadCheats", auto_load_cheats);
|
||||
si.SetBoolValue("Main", "DisableAllEnhancements", disable_all_enhancements);
|
||||
si.SetBoolValue("Main", "ShowSpeedIcons", show_speed_icons);
|
||||
si.SetBoolValue("Main", "RewindEnable", rewind_enable);
|
||||
si.SetFloatValue("Main", "RewindFrequency", rewind_save_frequency);
|
||||
si.SetIntValue("Main", "RewindSaveSlots", rewind_save_slots);
|
||||
|
@ -96,6 +96,7 @@ struct Settings
|
||||
bool apply_game_settings = true;
|
||||
bool auto_load_cheats = false;
|
||||
bool disable_all_enhancements = false;
|
||||
bool show_speed_icons = false;
|
||||
|
||||
bool rewind_enable = false;
|
||||
float rewind_save_frequency = 10.0f;
|
||||
|
Reference in New Issue
Block a user