Skip to content

Xenakios/JuceComponentCommunication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

JuceComponentCommunication

Demonstrates various ways, excluding use of global variables, to pass information between Components in a JUCE based project. The information sending Component is a simple ListBox implementation and the other Component, the MainComponent is interested in knowing which row of the listbox was selected and if a mouse double click was involved.

Techniques included :

  • Custom Broadcaster/Listener

  • std::function

  • JUCE Value and Value::Listener

  • Making the listbox a ChangeBroadcaster and using a dynamic_cast to get access into the listbox variables

  • Passing a reference of the MainComponent into the listbox so it can call a method directly

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages