degrade some messages to spam

This commit is contained in:
Cary Sandvig 2001-02-16 01:57:37 +00:00
parent ca5f720800
commit 5adee24a8f
4 changed files with 10 additions and 10 deletions

View File

@ -220,8 +220,8 @@ int GuiLabel::freeze() {
switch (_type) {
case SIMPLE_TEXT:
{
gui_cat->debug() << "GuiLabel:: freezing text node (0x" << (void*)this
<< ")" << endl;
gui_cat->spam() << "GuiLabel:: freezing text node (0x" << (void*)this
<< ")" << endl;
TextNode* n = DCAST(TextNode, _geom);
return n->freeze();
}
@ -235,8 +235,8 @@ int GuiLabel::thaw() {
switch (_type) {
case SIMPLE_TEXT:
{
gui_cat->debug() << "GuiLabel:: thawing text node (0x" << (void*)this
<< ")" << endl;
gui_cat->spam() << "GuiLabel:: thawing text node (0x" << (void*)this
<< ")" << endl;
TextNode* n = DCAST(TextNode, _geom);
return n->thaw();
}

View File

@ -216,7 +216,7 @@ int GuiListBox::freeze(void) {
ItemVector::iterator i;
ItemDeque::iterator j;
gui_cat->debug() << "GuiListBox::freeze()" << endl;
gui_cat->spam() << "GuiListBox::freeze()" << endl;
for (i=_top_stack.begin(); i!=_top_stack.end(); ++i) {
if (*i == _up_arrow)
continue;
@ -251,7 +251,7 @@ int GuiListBox::thaw(void) {
ItemVector::iterator i;
ItemDeque::iterator j;
gui_cat->debug() << "GuiListBox::thaw()" << endl;
gui_cat->spam() << "GuiListBox::thaw()" << endl;
for (i=_top_stack.begin(); i!=_top_stack.end(); ++i) {
if (*i == _up_arrow)
continue;

View File

@ -41,12 +41,12 @@ void GuiSign::unmanage(void) {
}
int GuiSign::freeze() {
gui_cat->debug() << "GuiSign::freeze (" << this->get_name() << ")" << endl;
gui_cat->spam() << "GuiSign::freeze (" << this->get_name() << ")" << endl;
return _sign->freeze();
}
int GuiSign::thaw() {
gui_cat->debug() << "GuiSign::thaw (" << this->get_name() << ")" << endl;
gui_cat->spam() << "GuiSign::thaw (" << this->get_name() << ")" << endl;
return _sign->thaw();
}

View File

@ -915,9 +915,9 @@ static void setup_gui(void) {
// test 13
// test13(mgr, font);
// test 14
test14(mgr, font);
// test14(mgr, font);
// test 15
// test15(mgr, font);
test15(mgr, font);
}
static void event_2(CPT_Event) {