Gin
Loading...
Searching...
No Matches
Namespaces | Classes | Functions
utilities

Namespaces

namespace  macOS
 

Classes

class  LambdaTimer
 Like juce::Timer, but it calls a std::function<> More...
 
class  LambdaAsyncUpdater
 Like juce::AsyncUpdater, but it calls a std::function<> More...
 
class  LambdaMouseListener
 If you add a mouse listener to yourself to get nested mouse messages, then you get them all twice, so use a lambda mouse listener instead. More...
 
class  CoalescedTimer
 Run multiple timers from one juce::Timer per rate. More...
 
class  ElevatedFileCopy
 Copies files, creating folders where required requesting admin access only if required. More...
 
class  Layout
 Layout components with json, supports hot reloading. More...
 
class  OpenStreetMaps
 Fetches map files from OSM servers. More...
 
class  OpenStreetMaps::Listener
 
class  SystemClipboard
 Handles reading/writing to the system's clipboard. More...
 
class  AsyncDownload
 Async Download. More...
 

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.
 
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 &)>   
)