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 147 of file CharacterColor.h.
Constructor & Destructor Documentation
|
inline |
Constructs a new CharacterColor whose color and color space are undefined.
Definition at line 153 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 170 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 277 of file CharacterColor.h.
|
inline |
Returns true if this character color entry is valid.
Definition at line 199 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 297 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 246 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 239 of file CharacterColor.h.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.