Make Widgets clickable

This commit is contained in:
2021-01-16 21:58:42 +01:00
parent 7e9702431f
commit f187a25e9e
13 changed files with 156 additions and 30 deletions

View File

@@ -129,7 +129,7 @@ void Controller::run()
}
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
menu->showScreenByName("mainMenuScreen");
pp_framebuffer->bind();
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
@@ -162,6 +162,8 @@ void Controller::run()
}
gameWindow->handleActionRegister(gameEventHandler->getWindowActionRegister());
menu->handleMouseButtonActionRegister(gameEventHandler->getMouseButtonActionRegister(), gameWindow);
}
}