Skip to content

Commit 35482a0

Browse files
committed
Improved CPU usage menu wording a bit
1 parent f8317a6 commit 35482a0

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

src/AppFrame.cpp

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -874,9 +874,9 @@ void AppFrame::updateDeviceParams() {
874874

875875
wxMenu *subMenu = new wxMenu;
876876

877-
performanceMenuItems[wxID_PERF_BASE + (int)AppConfig::PERF_HIGH] = subMenu->AppendRadioItem(wxID_PERF_BASE + (int)AppConfig::PERF_HIGH, "High (enhanced)");
877+
performanceMenuItems[wxID_PERF_BASE + (int)AppConfig::PERF_HIGH] = subMenu->AppendRadioItem(wxID_PERF_BASE + (int)AppConfig::PERF_HIGH, "High (+enhanced DSP)");
878878
performanceMenuItems[wxID_PERF_BASE + (int)AppConfig::PERF_NORMAL] = subMenu->AppendRadioItem(wxID_PERF_BASE + (int)AppConfig::PERF_NORMAL, "Normal");
879-
performanceMenuItems[wxID_PERF_BASE + (int)AppConfig::PERF_LOW] = subMenu->AppendRadioItem(wxID_PERF_BASE + (int)AppConfig::PERF_LOW, "Low (slow UI)");
879+
performanceMenuItems[wxID_PERF_BASE + (int)AppConfig::PERF_LOW] = subMenu->AppendRadioItem(wxID_PERF_BASE + (int)AppConfig::PERF_LOW, "Low (-slow UI)");
880880

881881
AppConfig::PerfModeEnum perfMode = wxGetApp().getConfig()->getPerfMode();
882882

@@ -3119,14 +3119,19 @@ wxString AppFrame::getSettingsLabel(const std::string& settingsName,
31193119
const std::string& settingsValue,
31203120
const std::string& settingsSuffix) {
31213121

3122-
size_t itemStringSize = 30;
3122+
size_t itemStringSize = 40;
31233123
int justifValueSize = itemStringSize - settingsName.length() - 1;
31243124

31253125
std::stringstream full_label;
31263126

31273127
full_label << settingsName + " : ";
31283128
full_label << std::right << std::setw(justifValueSize);
3129-
full_label << settingsValue + " " + settingsSuffix;
3130-
3129+
3130+
if (settingsSuffix.empty()) {
3131+
full_label << settingsValue;
3132+
} else {
3133+
full_label << settingsValue + " " + settingsSuffix;
3134+
}
3135+
31313136
return wxString(full_label.str());
31323137
}

0 commit comments

Comments
 (0)