OOStuBS - Technische Informatik II (TI-II)
2.4
|
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 |
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.
|
inline |
Constructor setting internal color.
color | new foreground color |
Definiert in Zeile 48 der Datei o_stream.h.
Colors FGColor::color |
internal color to be passed to driver
Definiert in Zeile 43 der Datei o_stream.h.