xlnt
|
A theme color encapsulates a color derived from the theme. More...
#include <color.hpp>
Public Member Functions | |
theme_color (std::size_t index) | |
Constructs a theme_color from an index. More... | |
std::size_t | index () const |
Returns the index of the color in the theme this points to. More... | |
void | index (std::size_t index) |
Sets the index of this color to index. More... | |
A theme color encapsulates a color derived from the theme.
xlnt::theme_color::theme_color | ( | std::size_t | index | ) |
Constructs a theme_color from an index.
std::size_t xlnt::theme_color::index | ( | ) | const |
Returns the index of the color in the theme this points to.
void xlnt::theme_color::index | ( | std::size_t | index | ) |
Sets the index of this color to index.