introduce active and passive events
This commit is contained in:
@@ -55,7 +55,7 @@ bool WindowModule::onEvent(const Archimedes::Event& e) {
|
||||
window->getSize(renderer->w, renderer->h);
|
||||
return true;
|
||||
} else if(type == app->getEventType(Archimedes::WindowCloseEvent())) {
|
||||
app->stopModule(name);
|
||||
app->emitEvent(new Archimedes::DoUnloadModuleEvent(name));
|
||||
return true;
|
||||
} else if(type == app->getEventType(Archimedes::WindowKeyPressedEvent())) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user