OOStuBS - Technische Informatik II (TI-II)  2.4
Öffentliche Methoden | Öffentliche Attribute | Aufstellung aller Elemente
FGColor Klassenreferenz

Manipulation object to set foreground color. Mehr ...

#include <o_stream.h>

Öffentliche Methoden

 FGColor (Colors color)
 Constructor setting internal color.

Öffentliche Attribute

Colors color
 internal color to be passed to driver

Ausführliche Beschreibung

Manipulation object to set foreground color.

the object will be created through the call of the constructor. Afterwards it is passed via the << operator to the O_Stream object. The O_Stream object then passes the internal color to the driver through the abstract setAttribute function. Care needs to be taken, since the attribute change will effect the whole buffer including preceding characters.

Definiert in Zeile 38 der Datei o_stream.h.

Beschreibung der Konstruktoren und Destruktoren

FGColor::FGColor ( Colors  color)
inline

Constructor setting internal color.

Parameter
colornew foreground color

Definiert in Zeile 48 der Datei o_stream.h.

Dokumentation der Datenelemente

Colors FGColor::color

internal color to be passed to driver

Definiert in Zeile 43 der Datei o_stream.h.


Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei: