A simple ARGB colour class for setting LEDs.
Public Member Functions | |
LEDColour ()=default | |
LEDColour (const LEDColour &)=default | |
LEDColour & | operator= (const LEDColour &)=default |
LEDColour (juce::uint32 argbColour) noexcept | |
template<typename ColourType > | |
LEDColour (const ColourType &colour) | |
juce::uint8 | getAlpha () const noexcept |
juce::uint8 | getRed () const noexcept |
juce::uint8 | getGreen () const noexcept |
juce::uint8 | getBlue () const noexcept |
juce::uint32 | getARGB () const noexcept |
Public Attributes | |
juce::uint32 | argb = 0 |
|
default |
|
default |
|
noexcept |
LEDColour::LEDColour | ( | const ColourType & | colour | ) |
|
noexcept |
References argb.
|
noexcept |
References argb.
|
noexcept |
References argb.
|
noexcept |
References argb.
|
noexcept |
References argb.
juce::uint32 LEDColour::argb = 0 |
Referenced by getAlpha(), getARGB(), getBlue(), getGreen(), and getRed().