Add 'Reduced CPU Usage' menu option and config entry.

This commit is contained in:
Charles J. Cliffe
2016-03-31 21:32:50 -04:00
parent cd41a8197e
commit b828b3636f
6 changed files with 66 additions and 4 deletions
+4 -1
View File
@@ -73,6 +73,9 @@ public:
void setShowTips(bool show);
bool getShowTips();
void setLowPerfMode(bool lpm);
bool getLowPerfMode();
void setTheme(int themeId);
int getTheme();
@@ -127,7 +130,7 @@ private:
std::string configName;
std::map<std::string, DeviceConfig *> deviceConfig;
std::atomic_int winX,winY,winW,winH;
std::atomic_bool winMax, showTips;
std::atomic_bool winMax, showTips, lowPerfMode;
std::atomic_int themeId;
std::atomic_llong snap;
std::atomic_llong centerFreq;