diff options
author | André Nusser <andre.nusser@googlemail.com> | 2017-04-22 14:57:27 +0200 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2017-04-22 15:00:10 +0200 |
commit | 6dba77384d627fc817ea04afb3083b94c26b9b06 (patch) | |
tree | 110a9fc3fce0fe8fd63c34263db82486924a76a7 /plugingui/statusframecontent.cc | |
parent | 66420ea45b7d4f99820850a60273335f13f2bb28 (diff) |
Make status frame content ready for the release
Diffstat (limited to 'plugingui/statusframecontent.cc')
-rw-r--r-- | plugingui/statusframecontent.cc | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/plugingui/statusframecontent.cc b/plugingui/statusframecontent.cc index 4bd02d2..a881b72 100644 --- a/plugingui/statusframecontent.cc +++ b/plugingui/statusframecontent.cc @@ -70,16 +70,16 @@ void StatusframeContent::resize(std::size_t width, std::size_t height) void StatusframeContent::updateContent() { text_field.setText( - "Drumkit load status: " + drumkit_load_status + "\n" - "Midimap load status: " + midimap_load_status + "\n" - "Drumkit name: " + drumkit_name + "\n" - "Drumkit description: " + drumkit_description + "\n" - "Drumkit version: " + drumkit_version + "\n" - "Drumkit samplerate: " + drumkit_samplerate + "\n" - "Session samplerate: " + samplerate + "\n" - "Resampling enabled: " + resampling_enabled + "\n" - "Resampling active: " + resampling_active + "\n" - "Number of underruns: " + number_of_underruns + "\n" + "Drumkit status: " + drumkit_load_status + "\n" + // "Midimap status: " + midimap_load_status + "\n" + "Drumkit name: " + drumkit_name + "\n" + "Drumkit description: " + drumkit_description + "\n" + // "Drumkit version: " + drumkit_version + "\n" + "Drumkit samplerate: " + drumkit_samplerate + "\n" + "Session samplerate: " + samplerate + "\n" + // "Resampling enabled: " + resampling_enabled + "\n" + "Resampling active: " + resampling_active + "\n" + // "Number of underruns: " + number_of_underruns + "\n" ); } @@ -88,16 +88,16 @@ void StatusframeContent::updateDrumkitLoadStatus(LoadStatus load_status) switch(load_status) { case LoadStatus::Idle: - drumkit_load_status = "idle"; + drumkit_load_status = "Idle"; break; case LoadStatus::Loading: - drumkit_load_status = "loading"; + drumkit_load_status = "Loading..."; break; case LoadStatus::Done: - drumkit_load_status = "done"; + drumkit_load_status = "Done"; break; case LoadStatus::Error: - drumkit_load_status = "error"; + drumkit_load_status = "Error"; break; } @@ -139,16 +139,16 @@ void StatusframeContent::updateMidimapLoadStatus(LoadStatus load_status) switch(load_status) { case LoadStatus::Idle: - midimap_load_status = "idle"; + midimap_load_status = "Idle"; break; case LoadStatus::Loading: - midimap_load_status = "loading"; + midimap_load_status = "Loading..."; break; case LoadStatus::Done: - midimap_load_status = "done"; + midimap_load_status = "Done"; break; case LoadStatus::Error: - midimap_load_status = "error"; + midimap_load_status = "Error"; break; } @@ -164,14 +164,14 @@ void StatusframeContent::updateSamplerate(double samplerate) void StatusframeContent::updateResamplingEnabled(bool enable_resampling) { - this->resampling_enabled = enable_resampling ? "yes" : "no"; + this->resampling_enabled = enable_resampling ? "Yes" : "No"; updateContent(); } void StatusframeContent::updateResamplingActive(bool resampling_active) { - this->resampling_active = resampling_active ? "yes" : "no"; + this->resampling_active = resampling_active ? "Yes" : "No"; updateContent(); } |