Konsole
#include <CharacterColor.h>
Public Member Functions | |
CharacterColor () | |
CharacterColor (quint8 colorSpace, int co) | |
QColor | color (const ColorEntry *palette) const |
bool | isValid () const |
void | setIntensive () |
Friends | |
bool | operator!= (const CharacterColor &a, const CharacterColor &b) |
bool | operator== (const CharacterColor &a, const CharacterColor &b) |
Detailed Description
Describes the color of a single character in the terminal.
Definition at line 148 of file CharacterColor.h.
Constructor & Destructor Documentation
|
inline |
Constructs a new CharacterColor whose color and color space are undefined.
Definition at line 154 of file CharacterColor.h.
|
inline |
Constructs a new CharacterColor using the specified colorSpace
and with color value co
.
The meaning of co
depends on the colorSpace
used.
TODO : Document how co
relates to colorSpace
TODO : Add documentation about available color spaces.
Definition at line 171 of file CharacterColor.h.
Member Function Documentation
|
inline |
Returns the color within the specified color palette
.
The palette
is only used if this color is one of the 16 system colors, otherwise it is ignored.
Definition at line 278 of file CharacterColor.h.
|
inline |
Returns true if this character color entry is valid.
Definition at line 200 of file CharacterColor.h.
|
inline |
Set this color as an intensive system color.
This is only applicable if the color is using the COLOR_SPACE_DEFAULT or COLOR_SPACE_SYSTEM color spaces.
Definition at line 298 of file CharacterColor.h.
Friends And Related Function Documentation
|
friend |
Compares two colors and returns true if they represent different color values or use different color spaces.
Definition at line 247 of file CharacterColor.h.
|
friend |
Compares two colors and returns true if they represent the same color value and use the same color space.
Definition at line 240 of file CharacterColor.h.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:24 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.