libAlgAudio  v1.99-440-g08538e5-dirty
The development library for AlgAudio framework.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AlgAudio::ColorString Class Reference

#include <Color.hpp>

Public Member Functions

 ColorString (const ColorString &other)
 
 ColorString (const std::string &s)
 
 ColorString (const char *s)
 
 ColorString (const Color &c)
 
 operator Color () const
 
 operator std::string () const
 
ColorStringoperator= (const ColorString &other)
 

Detailed Description

A ColorString is a textual representation for a color. When created, the string is looked up in the Theme map, and is processed according to the tags in the string. Afterwards it is cached so that further lookups are instantenous. This class provides a simple to use wrapper for seamlessly operatning on both RGB colors, as well as color strings.

Constructor & Destructor Documentation

AlgAudio::ColorString::ColorString ( const ColorString other)
inline
AlgAudio::ColorString::ColorString ( const std::string &  s)
inline
AlgAudio::ColorString::ColorString ( const char *  s)
inline
AlgAudio::ColorString::ColorString ( const Color c)
inline

Member Function Documentation

AlgAudio::ColorString::operator Color ( ) const
inline
AlgAudio::ColorString::operator std::string ( ) const
inline
ColorString& AlgAudio::ColorString::operator= ( const ColorString other)
inline

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