#include <esp_color_view.h>
|
| ESPColorView (uint8_t *red, uint8_t *green, uint8_t *blue, uint8_t *white, uint8_t *effect_data, const ESPColorCorrection *color_correction) |
|
ESPColorView & | operator= (const Color &rhs) |
|
ESPColorView & | operator= (const ESPHSVColor &rhs) |
|
void | set (const Color &color) override |
|
void | set_red (uint8_t red) override |
|
void | set_green (uint8_t green) override |
|
void | set_blue (uint8_t blue) override |
|
void | set_white (uint8_t white) override |
|
void | set_effect_data (uint8_t effect_data) override |
|
void | fade_to_white (uint8_t amnt) override |
|
void | fade_to_black (uint8_t amnt) override |
|
void | lighten (uint8_t delta) override |
|
void | darken (uint8_t delta) override |
|
Color | get () const |
|
uint8_t | get_red () const |
|
uint8_t | get_red_raw () const |
|
uint8_t | get_green () const |
|
uint8_t | get_green_raw () const |
|
uint8_t | get_blue () const |
|
uint8_t | get_blue_raw () const |
|
uint8_t | get_white () const |
|
uint8_t | get_white_raw () const |
|
uint8_t | get_effect_data () const |
|
void | raw_set_color_correction (const ESPColorCorrection *color_correction) |
|
void | set (const ESPHSVColor &color) |
|
void | set_hsv (const ESPHSVColor &color) |
|
void | set_rgb (uint8_t red, uint8_t green, uint8_t blue) |
|
void | set_rgbw (uint8_t red, uint8_t green, uint8_t blue, uint8_t white) |
|
Definition at line 38 of file esp_color_view.h.
◆ ESPColorView()
esphome::light::ESPColorView::ESPColorView |
( |
uint8_t * |
red, |
|
|
uint8_t * |
green, |
|
|
uint8_t * |
blue, |
|
|
uint8_t * |
white, |
|
|
uint8_t * |
effect_data, |
|
|
const ESPColorCorrection * |
color_correction |
|
) |
| |
|
inline |
◆ darken()
void esphome::light::ESPColorView::darken |
( |
uint8_t |
delta | ) |
|
|
inlineoverridevirtual |
◆ fade_to_black()
void esphome::light::ESPColorView::fade_to_black |
( |
uint8_t |
amnt | ) |
|
|
inlineoverridevirtual |
◆ fade_to_white()
void esphome::light::ESPColorView::fade_to_white |
( |
uint8_t |
amnt | ) |
|
|
inlineoverridevirtual |
◆ get()
Color esphome::light::ESPColorView::get |
( |
| ) |
const |
|
inline |
◆ get_blue()
uint8_t esphome::light::ESPColorView::get_blue |
( |
| ) |
const |
|
inline |
◆ get_blue_raw()
uint8_t esphome::light::ESPColorView::get_blue_raw |
( |
| ) |
const |
|
inline |
◆ get_effect_data()
uint8_t esphome::light::ESPColorView::get_effect_data |
( |
| ) |
const |
|
inline |
◆ get_green()
uint8_t esphome::light::ESPColorView::get_green |
( |
| ) |
const |
|
inline |
◆ get_green_raw()
uint8_t esphome::light::ESPColorView::get_green_raw |
( |
| ) |
const |
|
inline |
◆ get_red()
uint8_t esphome::light::ESPColorView::get_red |
( |
| ) |
const |
|
inline |
◆ get_red_raw()
uint8_t esphome::light::ESPColorView::get_red_raw |
( |
| ) |
const |
|
inline |
◆ get_white()
uint8_t esphome::light::ESPColorView::get_white |
( |
| ) |
const |
|
inline |
◆ get_white_raw()
uint8_t esphome::light::ESPColorView::get_white_raw |
( |
| ) |
const |
|
inline |
◆ lighten()
void esphome::light::ESPColorView::lighten |
( |
uint8_t |
delta | ) |
|
|
inlineoverridevirtual |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ raw_set_color_correction()
void esphome::light::ESPColorView::raw_set_color_correction |
( |
const ESPColorCorrection * |
color_correction | ) |
|
|
inline |
◆ set()
void esphome::light::ESPColorView::set |
( |
const Color & |
color | ) |
|
|
inlineoverridevirtual |
◆ set_blue()
void esphome::light::ESPColorView::set_blue |
( |
uint8_t |
blue | ) |
|
|
inlineoverridevirtual |
◆ set_effect_data()
void esphome::light::ESPColorView::set_effect_data |
( |
uint8_t |
effect_data | ) |
|
|
inlineoverridevirtual |
◆ set_green()
void esphome::light::ESPColorView::set_green |
( |
uint8_t |
green | ) |
|
|
inlineoverridevirtual |
◆ set_red()
void esphome::light::ESPColorView::set_red |
( |
uint8_t |
red | ) |
|
|
inlineoverridevirtual |
◆ set_white()
void esphome::light::ESPColorView::set_white |
( |
uint8_t |
white | ) |
|
|
inlineoverridevirtual |
◆ blue_
uint8_t* const esphome::light::ESPColorView::blue_ |
|
protected |
◆ color_correction_
◆ effect_data_
uint8_t* const esphome::light::ESPColorView::effect_data_ |
|
protected |
◆ green_
uint8_t* const esphome::light::ESPColorView::green_ |
|
protected |
◆ red_
uint8_t* const esphome::light::ESPColorView::red_ |
|
protected |
◆ white_
uint8_t* const esphome::light::ESPColorView::white_ |
|
protected |
The documentation for this class was generated from the following file: