Skip to content

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
voidresized() override
voidpaint(juce::Graphics & g) override
boolshouldShow() const
Whether this banner should currently render.
voidchangeListenerCallback(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() override

function resized

void resized() override

function paint

void paint(
juce::Graphics & g
) override

function shouldShow

bool shouldShow() const

Whether this banner should currently render.

Parents check this to size themselves.

function changeListenerCallback

void changeListenerCallback(
juce::ChangeBroadcaster *
) override

Updated on 2026-05-29 at 07:39:52 +0000