33 void paint(Graphics& g)
override;
A listener interface for objects interested in playhead position changes.
Definition wavetable_playhead.h:31
A UI component that displays the current playhead position in a wavetable editor.
Definition wavetable_playhead_info.h:20
void resized() override
Called when the component is resized.
Definition wavetable_playhead_info.cpp:26
WavetablePlayheadInfo()
Constructs the WavetablePlayheadInfo component.
Definition wavetable_playhead_info.h:27
void playheadMoved(int position) override
Called when the associated playhead moves to a new position.
Definition wavetable_playhead_info.cpp:31
void paint(Graphics &g) override
Paints the current playhead position text onto the component.
Definition wavetable_playhead_info.cpp:9
int playhead_position_
The current playhead position being displayed.
Definition wavetable_playhead_info.h:52