FastLED 3.9.15
Loading...
Searching...
No Matches
Painter.h
Go to the documentation of this file.
1#ifndef PAINTER_H
2#define PAINTER_H
3
4#include "./Keyboard.h"
6#include "./util.h"
7#include "./settings.h"
9
10struct Painter {
11
23
25 static void Paint(uint32_t now_ms,
26 uint32_t delta_ms,
27 VisState vis_state,
28 KeyboardState* keyboard,
29 LedRopeInterface* light_rope);
30private:
31 static void PaintVuNotes(uint32_t now_ms,
32 const KeyboardState& keyboard,
33 const int* led_column_table, int led_column_table_length,
34 LedRopeInterface* led_rope);
35
36 static void PaintVuMidNotesFade(uint32_t delta_ms,
37 const KeyboardState& keyboard,
38 const int* led_column_table, int led_column_table_length,
39 LedRopeInterface* led_rope);
40
41 // This is a crazy effect, lets keep this around.
42 static void VegasVisualizer(const KeyboardState& keyboard,
43 const int* led_column_table, int led_column_table_length,
44 LedRopeInterface* led_rope);
45
46 static void PaintBrightSurprise(const KeyboardState& keyboard,
47 const int* led_column_table, int led_column_table_length,
48 LedRopeInterface* led_rope);
49
50
51
52 static void PaintVuSpaceInvaders(uint32_t now_ms,
53 const KeyboardState& keyboard,
54 const int* led_column_table, int led_column_table_length,
55 LedRopeInterface* led_rope);
56};
57
58#endif // PAINTER_H
static void PaintBrightSurprise(const KeyboardState &keyboard, const int *led_column_table, int led_column_table_length, LedRopeInterface *led_rope)
Definition Painter.cpp:401
@ kVUMidNote
Definition Painter.h:13
@ kNumVisStates
Definition Painter.h:21
@ kVUSpaceInvaders
Definition Painter.h:17
@ kVegas
Definition Painter.h:18
@ kBlockNote
Definition Painter.h:15
@ kBrightSurprise
Definition Painter.h:19
@ kVUNote
Definition Painter.h:16
@ kColumnNote
Definition Painter.h:14
static void PaintVuNotes(uint32_t now_ms, const KeyboardState &keyboard, const int *led_column_table, int led_column_table_length, LedRopeInterface *led_rope)
Definition Painter.cpp:163
static void PaintVuSpaceInvaders(uint32_t now_ms, const KeyboardState &keyboard, const int *led_column_table, int led_column_table_length, LedRopeInterface *led_rope)
Definition Painter.cpp:442
static void Paint(uint32_t now_ms, uint32_t delta_ms, VisState vis_state, KeyboardState *keyboard, LedRopeInterface *light_rope)
Definition Painter.cpp:97
static void PaintVuMidNotesFade(uint32_t delta_ms, const KeyboardState &keyboard, const int *led_column_table, int led_column_table_length, LedRopeInterface *led_rope)
Definition Painter.cpp:228
static void VegasVisualizer(const KeyboardState &keyboard, const int *led_column_table, int led_column_table_length, LedRopeInterface *led_rope)
Definition Painter.cpp:353