Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

common.h File Reference

#include <qcolor.h>

Include dependency graph for common.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Character
 a character with rendition attributes. More...
struct  ColorEntry

Defines

#define FALSE   0
#define TRUE   1
#define BASE_COLORS   (2+8)
#define INTENSITIES   2
#define TABLE_COLORS   (INTENSITIES*BASE_COLORS)
#define DEFAULT_FORE_COLOR   0
#define DEFAULT_BACK_COLOR   1
#define DEFAULT_RENDITION   0
#define RE_BOLD   (1 << 0)
#define RE_BLINK   (1 << 1)
#define RE_UNDERLINE   (1 << 2)
#define RE_REVERSE   (1 << 3)
#define RE_INTENSIVE   (1 << 3)

Typedefs

typedef bool BOOL
typedef unsigned char UINT8
typedef unsigned short UINT16

Functions

BOOL operator== (Character a, Character b)
BOOL operator!= (Character a, Character b)


Define Documentation

#define BASE_COLORS   (2+8)
 

Definition at line 52 of file common.h.

#define DEFAULT_BACK_COLOR   1
 

Definition at line 57 of file common.h.

#define DEFAULT_FORE_COLOR   0
 

Definition at line 56 of file common.h.

#define DEFAULT_RENDITION   0
 

Definition at line 59 of file common.h.

#define FALSE   0
 

Definition at line 33 of file common.h.

#define INTENSITIES   2
 

Definition at line 53 of file common.h.

#define RE_BLINK   (1 << 1)
 

Definition at line 61 of file common.h.

#define RE_BOLD   (1 << 0)
 

Definition at line 60 of file common.h.

#define RE_INTENSIVE   (1 << 3)
 

Definition at line 64 of file common.h.

#define RE_REVERSE   (1 << 3)
 

Definition at line 63 of file common.h.

#define RE_UNDERLINE   (1 << 2)
 

Definition at line 62 of file common.h.

#define TABLE_COLORS   (INTENSITIES*BASE_COLORS)
 

Definition at line 54 of file common.h.

#define TRUE   1
 

Definition at line 37 of file common.h.


Typedef Documentation

typedef bool BOOL
 

Definition at line 29 of file common.h.

typedef unsigned short UINT16
 

Definition at line 45 of file common.h.

typedef unsigned char UINT8
 

Definition at line 41 of file common.h.


Function Documentation

BOOL operator!= Character  a,
Character  b
[inline]
 

Definition at line 93 of file common.h.

References Character::b, Character::c, Character::f, and Character::r.

BOOL operator== Character  a,
Character  b
[inline]
 

Definition at line 88 of file common.h.

References Character::b, Character::c, Character::f, and Character::r.


Generated on Sat Nov 5 16:46:40 2005 for OPIE by  doxygen 1.4.2