guitar_prometheus::TempoMapPanel
guitar_prometheus::TempoMapPanel
Modal tempo-map editor. More…
#include <TempoMapPanel.h>
Inherits from juce::Component, juce::TableListBoxModel, juce::ChangeListener
Public Functions
| Name | |
|---|---|
| TempoMapPanel(AppController & controller) | |
| ~TempoMapPanel() override | |
| void | resized() override |
| void | paint(juce::Graphics & g) override |
| int | getNumRows() override |
| void | paintRowBackground(juce::Graphics & g, int rowNumber, int width, int height, bool selected) override |
| void | paintCell(juce::Graphics & g, int rowNumber, int columnId, int width, int height, bool selected) override |
| juce::Component * | refreshComponentForCell(int rowNumber, int columnId, bool selected, juce::Component * existing) override |
| void | changeListenerCallback(juce::ChangeBroadcaster * ) override |
Detailed Description
class guitar_prometheus::TempoMapPanel;Modal tempo-map editor.
One row per measure in the active Score. Each row shows the effective BPM (override → score-derived → initial fallback) in an editable cell; edits flow to [AppController::setTempoForMeasure](/api-reference/classes/classguitar__prometheus_1_1appcontroller/#function-settempoformeasure), which persists to the Project’s tempoOverrides. The Score is never mutated; export-time tempo emission picks up the override map via the writer’s tempoOverride parameter.
Public Functions Documentation
function TempoMapPanel
explicit TempoMapPanel( AppController & controller)function ~TempoMapPanel
~TempoMapPanel() overridefunction resized
void resized() overridefunction paint
void paint( juce::Graphics & g) overridefunction getNumRows
int getNumRows() overridefunction paintRowBackground
void paintRowBackground( juce::Graphics & g, int rowNumber, int width, int height, bool selected) overridefunction paintCell
void paintCell( juce::Graphics & g, int rowNumber, int columnId, int width, int height, bool selected) overridefunction refreshComponentForCell
juce::Component * refreshComponentForCell( int rowNumber, int columnId, bool selected, juce::Component * existing) overridefunction changeListenerCallback
void changeListenerCallback( juce::ChangeBroadcaster *) overrideUpdated on 2026-05-29 at 07:39:52 +0000