Class Ring¶
Defined in File BlackBox_Ring.hpp
Class Documentation¶
-
class
BlackBox::Ring¶ Class for controling the LED Ring.
Public Functions
-
void
show()¶ Draw buffered frame.
-
void
drawArc(Rgb colour, Index beginnig, Index ending, ArcType arcType = ArcType::ShorterDistance)¶ Draw arc onto frame.
- Parameters
colour –
beginnig –
ending –
arcType –
-
void
drawCircle(Rgb colour)¶ Draw full circle onto frame.
- Parameters
colour –
-
void
draw(std::unique_ptr<Rgb[]> buffer)¶ Draw whole frame.
- Parameters
buffer –
-
void
clear()¶ Clear active frame.
Note
Just draws black circle
-
void
enableDarkMode()¶ Enable dark mode.
-
void
disableDarkMode()¶ Disable dark mode.
-
void
setDarkModeValue(int value)¶ Set dark mode value.
- Parameters
value –
-
void