Gin
Public Member Functions | Public Attributes | List of all members
TitleBar Class Reference

Inherits juce::Component, juce::ComboBox::Listener, and juce::ChangeListener.

Public Member Functions

 TitleBar (ProcessorEditor &, Processor &, PatchBrowser &)
 
 ~TitleBar () override
 
void refreshPrograms ()
 
void setShowBrowser (bool)
 
void setShowPresets (bool)
 
void setShowMenu (bool)
 
void setShowInfo (bool)
 
void setBrowseButtonState (bool s)
 
void paint (juce::Graphics &g) override
 
void resized () override
 
void showMenu ()
 
void comboBoxChanged (juce::ComboBox *c) override
 
void changeListenerCallback (juce::ChangeBroadcaster *) override
 
void parentHierarchyChanged () override
 

Public Attributes

ProcessorEditoreditor
 
ProcessorslProc
 
PatchBrowserpatchBrowser
 
bool hasPresets = true
 
bool hasBrowser = false
 
juce::ComboBox programs
 
juce::Label programName
 
SVGButton addButton { "add", gin::Assets::add }
 
SVGButton deleteButton { "delete", gin::Assets::del }
 
SVGButton browseButton { "browse", gin::Assets::browse }
 
SVGButton nextButton { "next", gin::Assets::next, 15 }
 
SVGButton prevButton { "prev", gin::Assets::prev, 15 }
 
SVGButton menuButton { "menu", gin::Assets::menu }
 
SVGButton infoButton { "info", gin::Assets::info }
 
bool menuShowing = false
 
LambdaMouseListener labelListener
 
std::unique_ptr< NewsCheckernewsChecker
 
std::unique_ptr< UpdateCheckerupdateChecker
 

Constructor & Destructor Documentation

◆ TitleBar()

TitleBar::TitleBar ( ProcessorEditor ,
Processor ,
PatchBrowser  
)

◆ ~TitleBar()

TitleBar::~TitleBar ( )
override

Member Function Documentation

◆ refreshPrograms()

void TitleBar::refreshPrograms ( )

◆ setShowBrowser()

void TitleBar::setShowBrowser ( bool  )

◆ setShowPresets()

void TitleBar::setShowPresets ( bool  )

◆ setShowMenu()

void TitleBar::setShowMenu ( bool  )

◆ setShowInfo()

void TitleBar::setShowInfo ( bool  )

◆ setBrowseButtonState()

void TitleBar::setBrowseButtonState ( bool  s)

References browseButton.

◆ paint()

void TitleBar::paint ( juce::Graphics &  g)
override

◆ resized()

void TitleBar::resized ( )
override

◆ showMenu()

void TitleBar::showMenu ( )

◆ comboBoxChanged()

void TitleBar::comboBoxChanged ( juce::ComboBox *  c)
override

◆ changeListenerCallback()

void TitleBar::changeListenerCallback ( juce::ChangeBroadcaster *  )
override

◆ parentHierarchyChanged()

void TitleBar::parentHierarchyChanged ( )
override

Member Data Documentation

◆ editor

ProcessorEditor& TitleBar::editor

◆ slProc

Processor& TitleBar::slProc

◆ patchBrowser

PatchBrowser& TitleBar::patchBrowser

◆ hasPresets

bool TitleBar::hasPresets = true

◆ hasBrowser

bool TitleBar::hasBrowser = false

◆ programs

juce::ComboBox TitleBar::programs

◆ programName

juce::Label TitleBar::programName

◆ addButton

SVGButton TitleBar::addButton { "add", gin::Assets::add }

◆ deleteButton

SVGButton TitleBar::deleteButton { "delete", gin::Assets::del }

◆ browseButton

SVGButton TitleBar::browseButton { "browse", gin::Assets::browse }

Referenced by setBrowseButtonState().

◆ nextButton

SVGButton TitleBar::nextButton { "next", gin::Assets::next, 15 }

◆ prevButton

SVGButton TitleBar::prevButton { "prev", gin::Assets::prev, 15 }

◆ menuButton

SVGButton TitleBar::menuButton { "menu", gin::Assets::menu }

◆ infoButton

SVGButton TitleBar::infoButton { "info", gin::Assets::info }

◆ menuShowing

bool TitleBar::menuShowing = false

◆ labelListener

LambdaMouseListener TitleBar::labelListener

◆ newsChecker

std::unique_ptr<NewsChecker> TitleBar::newsChecker

◆ updateChecker

std::unique_ptr<UpdateChecker> TitleBar::updateChecker

The documentation for this class was generated from the following file: