GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include <QColor>
Go to the source code of this file.
Classes | |
class | CharacterColor |
Describes the color of a single character in the terminal. More... | |
class | ColorEntry |
An entry in a terminal display's color palette. More... | |
Macros | |
#define | BASE_COLORS (2+8) |
#define | COLOR_SPACE_256 3 |
#define | COLOR_SPACE_DEFAULT 1 |
#define | COLOR_SPACE_RGB 4 |
#define | COLOR_SPACE_SYSTEM 2 |
#define | COLOR_SPACE_UNDEFINED 0 |
#define | DEFAULT_BACK_COLOR 1 |
#define | DEFAULT_FORE_COLOR 0 |
#define | INTENSITIES 2 |
#define | TABLE_COLORS (INTENSITIES*BASE_COLORS) |
Functions | |
const QColor | color256 (quint8 u, const ColorEntry *base) |
bool | operator!= (const CharacterColor &a, const CharacterColor &b) |
bool | operator== (const CharacterColor &a, const CharacterColor &b) |
Variables | |
static const ColorEntry | base_color_table [(2 *(2+8))] |
#define BASE_COLORS (2+8) |
Definition at line 92 of file CharacterColor.h.
Referenced by CharacterColor::color(), color256(), Character::isBold(), and Character::isTransparent().
#define COLOR_SPACE_256 3 |
Definition at line 137 of file CharacterColor.h.
Referenced by CharacterColor::CharacterColor(), CharacterColor::color(), and Vt102Emulation::receiveChar().
#define COLOR_SPACE_DEFAULT 1 |
Definition at line 135 of file CharacterColor.h.
Referenced by CharacterColor::CharacterColor(), TerminalView::clearImage(), CharacterColor::color(), Character::isBold(), Character::isTransparent(), Screen::setBackColor(), Screen::setDefaultRendition(), Screen::setForeColor(), Vt102Emulation::tau(), and CharacterColor::toggleIntensive().
#define COLOR_SPACE_RGB 4 |
Definition at line 138 of file CharacterColor.h.
Referenced by CharacterColor::CharacterColor(), CharacterColor::color(), and Vt102Emulation::receiveChar().
#define COLOR_SPACE_SYSTEM 2 |
Definition at line 136 of file CharacterColor.h.
Referenced by CharacterColor::CharacterColor(), CharacterColor::color(), Character::isBold(), Character::isTransparent(), Vt102Emulation::tau(), and CharacterColor::toggleIntensive().
#define COLOR_SPACE_UNDEFINED 0 |
Definition at line 134 of file CharacterColor.h.
Referenced by CharacterColor::CharacterColor(), CharacterColor::color(), and CharacterColor::isValid().
#define DEFAULT_BACK_COLOR 1 |
Definition at line 97 of file CharacterColor.h.
Referenced by TerminalView::clearImage(), TerminalView::drawInputMethodPreeditString(), Screen::setBackColor(), QUnixTerminalImpl::setBackgroundColor(), TerminalView::setColorTable(), and Screen::setDefaultRendition().
#define DEFAULT_FORE_COLOR 0 |
Definition at line 96 of file CharacterColor.h.
Referenced by TerminalView::clearImage(), TerminalView::drawInputMethodPreeditString(), Screen::setDefaultRendition(), Screen::setForeColor(), and QUnixTerminalImpl::setForegroundColor().
#define INTENSITIES 2 |
Definition at line 93 of file CharacterColor.h.
#define TABLE_COLORS (INTENSITIES*BASE_COLORS) |
Definition at line 94 of file CharacterColor.h.
Referenced by QUnixTerminalImpl::setBackgroundColor(), TerminalView::setColorTable(), and QUnixTerminalImpl::setForegroundColor().
|
inline |
Definition at line 252 of file CharacterColor.h.
References BASE_COLORS, and ColorEntry::color.
Referenced by CharacterColor::color().
|
inline |
Definition at line 247 of file CharacterColor.h.
References operator==().
|
inline |
Definition at line 239 of file CharacterColor.h.
References CharacterColor::_colorSpace, CharacterColor::_u, CharacterColor::_v, and CharacterColor::_w.
Referenced by operator!=().
|
static |
Definition at line 102 of file CharacterColor.h.
Referenced by TerminalView::TerminalView().