Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef GDCMTERMINAL_H
00016 #define GDCMTERMINAL_H
00017
00018 #include "gdcmTypes.h"
00019
00020
00021 namespace gdcm
00022 {
00029
00030
00031 namespace terminal
00032 {
00033 typedef enum
00034 {
00035 CONSOLE = 0,
00036 VT100
00037 } Mode;
00038 typedef enum
00039 {
00040 black = 0,
00041 red,
00042 green,
00043 yellow,
00044 blue,
00045 magenta,
00046 cyan,
00047 white
00048 } Color;
00049 typedef enum
00050 {
00051 reset = 0,
00052 bright = 1,
00053 dim = 2,
00054 underline = 3,
00055 blink = 5,
00056 reverse = 7,
00057 hidden = 8
00058 } Attribute;
00059 GDCM_EXPORT std::string setattribute( Attribute att );
00060 GDCM_EXPORT std::string setfgcolor( Color c );
00061 GDCM_EXPORT std::string setbgcolor( Color c );
00062 GDCM_EXPORT void setmode( Mode m);
00063 }
00064
00065 }
00066
00067 #endif //GDCMTERMINAL_H