modm API documentation
modm::gui::ColorPalette Class Reference

#include <modm/ui/gui/colorpalette.hpp>

Public Member Functions

 ColorPalette (modm::color::Rgb565 colors[Color::PALETTE_SIZE])
 
 ColorPalette (ColorPalette &rhs=DefaultColorPalette)
 
ColorPalette & operator= (ColorPalette &rhs)
 
void setColor (Color name, modm::color::Rgb565 color)
 
const modm::color::Rgb565 getColor (Color name) const
 
const modm::color::Rgb565 operator[] (Color name)
 
const modm::color::Rgb565getPointer () const
 

Detailed Description

Author
Niklas Hauser

The documentation for this class was generated from the following file: