@ -20,3 +20,9 @@ void NoMazeScreen::display() {
glFlush();
glutSwapBuffers();
}
void NoMazeScreen::keyboard(unsigned char key, int x, int y) {
if (key == '\e') {
exit(EXIT_SUCCESS);
@ -4,4 +4,5 @@
struct NoMazeScreen : public GlutEvents {
virtual void display();
virtual void keyboard(unsigned char key, int x, int y);
};
@ -1,5 +1,5 @@
Name: y3s2-gui-project
Version: 1.0.5
Version: 1.0.6
Release: 1%{?dist}
Summary: Maze project in OpenGL for Graphics and User Interfaces lecture in year 3, semester 2