35 #ifdef CHECK_MEMORY_LEAKS
37 #endif // CHECK_MEMORY_LEAKS
44 :
FXText(parent, 0, 0, 0, 0, 0, 0, 50),
50 myStyles[0].normalForeColor = FXRGB(0x00, 0x00, 0x88);
51 myStyles[0].normalBackColor = FXRGB(0xff, 0xff, 0xff);
52 myStyles[0].selectForeColor = FXRGB(0xff, 0xff, 0xff);
53 myStyles[0].selectBackColor = FXRGB(0x00, 0x00, 0x88);
54 myStyles[0].hiliteForeColor = FXRGB(0x00, 0x00, 0x88);
55 myStyles[0].hiliteBackColor = FXRGB(0xff, 0xff, 0xff);
56 myStyles[0].activeBackColor = FXRGB(0xff, 0xff, 0xff);
59 myStyles[1].normalForeColor = FXRGB(0x00, 0x88, 0x00);
60 myStyles[1].normalBackColor = FXRGB(0xff, 0xff, 0xff);
61 myStyles[1].selectForeColor = FXRGB(0xff, 0xff, 0xff);
62 myStyles[1].selectBackColor = FXRGB(0x00, 0x88, 0x00);
63 myStyles[1].hiliteForeColor = FXRGB(0x00, 0x88, 0x00);
64 myStyles[1].hiliteBackColor = FXRGB(0xff, 0xff, 0xff);
65 myStyles[1].activeBackColor = FXRGB(0xff, 0xff, 0xff);
68 myStyles[2].normalForeColor = FXRGB(0x88, 0x00, 0x00);
69 myStyles[2].normalBackColor = FXRGB(0xff, 0xff, 0xff);
70 myStyles[2].selectForeColor = FXRGB(0xff, 0xff, 0xff);
71 myStyles[2].selectBackColor = FXRGB(0x88, 0x00, 0x00);
72 myStyles[2].hiliteForeColor = FXRGB(0x88, 0x00, 0x00);
73 myStyles[2].hiliteBackColor = FXRGB(0xff, 0xff, 0xff);
74 myStyles[2].activeBackColor = FXRGB(0xff, 0xff, 0xff);
77 myStyles[3].normalForeColor = FXRGB(0xe6, 0x98, 0x00);
78 myStyles[3].normalBackColor = FXRGB(0xff, 0xff, 0xff);
79 myStyles[3].selectForeColor = FXRGB(0xff, 0xff, 0xff);
80 myStyles[3].selectBackColor = FXRGB(0xe6, 0x98, 0x00);
81 myStyles[3].hiliteForeColor = FXRGB(0xe6, 0x98, 0x00);
82 myStyles[3].hiliteBackColor = FXRGB(0xff, 0xff, 0xff);
83 myStyles[3].activeBackColor = FXRGB(0xff, 0xff, 0xff);
119 FXText::appendStyledText(msg.c_str(), (FXint) msg.length(), style + 1,
true);
120 FXText::setCursorPos(getLength() - 1);
121 FXText::setBottomLine(getLength() - 1);
131 std::string msg =
"----------------------------------------------------------------------------------------\n";
132 FXText::appendStyledText(msg.c_str(), (FXint) msg.length(), 1,
true);
133 FXText::setCursorPos(getLength() - 1);
134 FXText::setBottomLine(getLength() - 1);
144 if (getLength() == 0) {
147 FXText::removeText(0, getLength() - 1,
true);