mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 17:35:34 -04:00
more debugging in state machine
This commit is contained in:
parent
00cc234397
commit
0f0b9ec6c6
@ -49,8 +49,8 @@ INLINE void GuiButton::up(void) {
|
||||
switch_state(UP_ROLLOVER);
|
||||
break;
|
||||
default:
|
||||
gui_cat->warning() << "got up from invalid state (" << (int)_state << ")"
|
||||
<< endl;
|
||||
gui_cat->warning() << "got up from invalid state (" << (int)_state << "),"
|
||||
<< " button '" << this->get_name() << "'" << endl;
|
||||
}
|
||||
}
|
||||
|
||||
@ -65,8 +65,8 @@ INLINE void GuiButton::down(void) {
|
||||
switch_state(DOWN_ROLLOVER);
|
||||
break;
|
||||
default:
|
||||
gui_cat->warning() << "got down from invalid state (" << (int)_state << ")"
|
||||
<< endl;
|
||||
gui_cat->warning() << "got down from invalid state (" << (int)_state
|
||||
<< "), button '" << this->get_name() << "'" << endl;
|
||||
}
|
||||
}
|
||||
|
||||
@ -82,7 +82,7 @@ INLINE void GuiButton::inactive(void) {
|
||||
break;
|
||||
default:
|
||||
gui_cat->warning() << "got inactive from invalid state (" << (int)_state
|
||||
<< ")" << endl;
|
||||
<< "), button '" << this->get_name() << "'" << endl;
|
||||
}
|
||||
}
|
||||
|
||||
@ -101,7 +101,7 @@ INLINE void GuiButton::click(void) {
|
||||
break;
|
||||
default:
|
||||
gui_cat->warning() << "got click from invalid state (" << (int)_state
|
||||
<< ")" << endl;
|
||||
<< "), button '" << this->get_name() << "'" << endl;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user