Logo Search packages:      
Sourcecode: rosegarden version File versions  Download package

Rosegarden::Colour Class Reference

#include <Colour.h>

List of all members.


Detailed Description

Colour is our internal colour storage mechanism; it's extremely basic but does what it needs to

Definition at line 33 of file Colour.h.


Public Member Functions

 Colour (const Colour &input)
 Colour (unsigned int red, unsigned int green, unsigned int blue)
 Colour ()
std::string dataToXmlString () const
unsigned int getBlue () const
void getColour (unsigned int &red, unsigned int &green, unsigned int &blue) const
Colour getContrastingColour () const
unsigned int getGreen () const
unsigned int getRed () const
Colouroperator= (const Colour &input)
void setBlue (unsigned int input)
void setColour (unsigned int red, unsigned int green, unsigned int blue)
void setGreen (unsigned int input)
void setRed (unsigned int input)
std::string toXmlString () const

Private Attributes

unsigned int m_b
unsigned int m_g
unsigned int m_r

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

Generated by  Doxygen 1.6.0   Back to index