i got a little problem with my eventrec class:
Code: Select all
bool GuiManager::OnEvent(irr::SEvent e) {
switch( e.EventType ) {
case irr::EET_GUI_EVENT:
return this->parseGuiEvent(e);
case irr::EET_KEY_INPUT_EVENT:
return this->parseKeyEvent(e);
case irr::EET_MOUSE_INPUT_EVENT:
return this->parseMouseEvent(e);
}
return false;
}
if i change the function this way:
Code: Select all
bool GuiManager::OnEvent(irr::SEvent e) {
switch( e.EventType ) {
case irr::EET_GUI_EVENT:
return this->parseGuiEvent(e);
case irr::EET_KEY_INPUT_EVENT:
return false;
case irr::EET_MOUSE_INPUT_EVENT:
return false;
}
return false;
}
where do you think is the problem in this??
regards