Gin
Functions
utilities

Functions

void callOnMainThreadBlocking (std::function< void()> func)
 
juce::Colour goldenRatioColor (int idx)
 Returns the next colour in a set where the hues differ by the golden ratio. More...
 
void asyncDownload (const juce::URL &, std::function< void(const juce::String &)>)
 
void asyncDownload (const juce::URL &, std::function< void(const juce::MemoryBlock &)>)
 

Detailed Description

Function Documentation

◆ callOnMainThreadBlocking()

void callOnMainThreadBlocking ( std::function< void()>  func)

◆ goldenRatioColor()

juce::Colour goldenRatioColor ( int  idx)

Returns the next colour in a set where the hues differ by the golden ratio.

Good for coming up with a random set of colours

◆ asyncDownload() [1/2]

void asyncDownload ( const juce::URL &  ,
std::function< void(const juce::String &)>   
)

◆ asyncDownload() [2/2]

void asyncDownload ( const juce::URL &  ,
std::function< void(const juce::MemoryBlock &)>   
)