xlnt
Public Member Functions | List of all members
xlnt::theme_color Class Reference

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...
 

Detailed Description

A theme color encapsulates a color derived from the theme.

Constructor & Destructor Documentation

◆ theme_color()

xlnt::theme_color::theme_color ( std::size_t  index)

Constructs a theme_color from an index.

Member Function Documentation

◆ index() [1/2]

std::size_t xlnt::theme_color::index ( ) const

Returns the index of the color in the theme this points to.

◆ index() [2/2]

void xlnt::theme_color::index ( std::size_t  index)

Sets the index of this color to index.


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