guitar_prometheus::UnknownTechniquesBanner
guitar_prometheus::UnknownTechniquesBanner
A horizontal strip showing parser warnings from the most recent file load. More…
#include <UnknownTechniquesBanner.h>
Inherits from juce::Component, juce::ChangeListener
Public Functions
| Name | |
|---|---|
| UnknownTechniquesBanner(AppController & controller) | |
| ~UnknownTechniquesBanner() override | |
| void | resized() override |
| void | paint(juce::Graphics & g) override |
| bool | shouldShow() const Whether this banner should currently render. |
| void | changeListenerCallback(juce::ChangeBroadcaster * ) override |
Detailed Description
class guitar_prometheus::UnknownTechniquesBanner;A horizontal strip showing parser warnings from the most recent file load.
Visible only when the AppController carries non-empty parserWarnings() and the user has not dismissed it for the current load. Repaints whenever the controller broadcasts a change. Hosts a single multi-line message and a “Dismiss” button.
Public Functions Documentation
function UnknownTechniquesBanner
explicit UnknownTechniquesBanner( AppController & controller)function ~UnknownTechniquesBanner
~UnknownTechniquesBanner() overridefunction resized
void resized() overridefunction paint
void paint( juce::Graphics & g) overridefunction shouldShow
bool shouldShow() constWhether this banner should currently render.
Parents check this to size themselves.
function changeListenerCallback
void changeListenerCallback( juce::ChangeBroadcaster *) overrideUpdated on 2026-05-29 at 07:39:52 +0000