Move scroll buttons to title bar, add build info status bar

- Replace broken bottom waveform scroll buttons with title bar < > buttons
- Add scrollLeft()/scrollRight() methods to WaveformDisplay
- Add status bar showing git branch, commit, dirty state, and build timestamp
- Inject git version info via CMake at configure time
- Enable COPY_PLUGIN_AFTER_BUILD
- Increase baseHeight by 20px for status bar
This commit is contained in:
Armin 2026-07-22 13:27:26 +02:00
commit 93c8c73399
5 changed files with 93 additions and 24 deletions

View file

@ -41,11 +41,13 @@ private:
juce::TextButton zoomInButton { "+" };
juce::TextButton zoomOutButton { "-" };
juce::TextButton zoomResetButton { "1:1" };
juce::TextButton scrollLeftButton { "<" };
juce::TextButton scrollRightButton { ">" };
juce::ComboBox scaleComboBox;
juce::ComboBox octaveComboBox;
static constexpr int baseWidth = 1100;
static constexpr int baseHeight = 550;
static constexpr int baseHeight = 570;
// Slice knobs
juce::Slider bassSlider, trebleSlider, sensitivitySlider;
@ -88,6 +90,7 @@ private:
std::unique_ptr<ComboBoxAttachment> filterTypeAttachment;
juce::FileChooser fileChooser { "Load Audio File", juce::File{}, "*.wav;*.aiff;*.flac;*.ogg" };
juce::Label statusBar;
void setupSlider(juce::Slider& slider, juce::Label& label, const juce::String& name);
void attachSlider(juce::Slider& slider, juce::Label& label, const juce::String& name,