GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Macros | Typedefs | Functions | Variables
Character.h File Reference
#include <QtCore/QHash>
#include "unix/CharacterColor.h"
Include dependency graph for Character.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Character
 A single character in the terminal which consists of a unicode character value, foreground and background colors and a set of rendition attributes which specify how it should be drawn. More...
 
class  ExtendedCharTable
 A table which stores sequences of unicode characters, referenced by hash keys. More...
 

Macros

#define DEFAULT_RENDITION   0
 
#define RE_BLINK   (1 << 1)
 
#define RE_BOLD   (1 << 0)
 
#define RE_CURSOR   (1 << 4)
 
#define RE_EXTENDED_CHAR   (1 << 5)
 
#define RE_INTENSIVE   (1 << 3)
 
#define RE_REVERSE   (1 << 3)
 
#define RE_UNDERLINE   (1 << 2)
 

Typedefs

typedef unsigned char LineProperty
 

Functions

bool operator!= (const Character &a, const Character &b)
 
bool operator== (const Character &a, const Character &b)
 

Variables

static const int LINE_DEFAULT = 0
 
static const int LINE_DOUBLEHEIGHT = (1 << 2)
 
static const int LINE_DOUBLEWIDTH = (1 << 1)
 
static const int LINE_WRAPPED = (1 << 0)
 
unsigned short vt100_graphics [32]
 

Macro Definition Documentation

#define DEFAULT_RENDITION   0
#define RE_BLINK   (1 << 1)
#define RE_BOLD   (1 << 0)
#define RE_CURSOR   (1 << 4)

Definition at line 47 of file Character.h.

Referenced by TerminalView::drawTextFragment(), and Screen::getImage().

#define RE_EXTENDED_CHAR   (1 << 5)

Definition at line 48 of file Character.h.

Referenced by TerminalView::drawContents().

#define RE_INTENSIVE   (1 << 3)

Definition at line 46 of file Character.h.

#define RE_REVERSE   (1 << 3)

Definition at line 45 of file Character.h.

Referenced by Screen::effectiveRendition(), and Vt102Emulation::tau().

#define RE_UNDERLINE   (1 << 2)

Typedef Documentation

typedef unsigned char LineProperty

Definition at line 34 of file Character.h.

Function Documentation

bool operator!= ( const Character a,
const Character b 
)
inline
bool operator== ( const Character a,
const Character b 
)
inline

Variable Documentation

const int LINE_DEFAULT = 0
static
const int LINE_DOUBLEHEIGHT = (1 << 2)
static
const int LINE_DOUBLEWIDTH = (1 << 1)
static

Definition at line 38 of file Character.h.

Referenced by TerminalView::drawContents(), and Vt102Emulation::tau().

const int LINE_WRAPPED = (1 << 0)
static
unsigned short vt100_graphics[32]

Definition at line 153 of file TerminalView.cpp.

Referenced by Vt102Emulation::applyCharset().