+#endif
+
+#ifdef CAIRO_SUPPORT
+ {
+ FILE *file = fopen("/tmp/universe.png", "w");
+ generate_png(&universe, 0.25, file);
+ // generate_png(task->width(), task->height(), &universe, "/tmp/universe.png");
+ cout << "Universe image saved in /tmp/universe.png" << endl;
+ }
+#endif
+
+ }
+
+ else if(strcmp(se.key, "Shift_L") == 0 || strcmp(se.key, "Shift_R") == 0) {
+ press_shift = true;
+ }
+
+ else if(strcmp(se.key, "Up") == 0) {
+ manipulator.do_action(Manipulator::ACTION_MOVE_UP);
+ }
+
+ else if(strcmp(se.key, "Right") == 0) {
+ manipulator.do_action(Manipulator::ACTION_MOVE_RIGHT);
+ }
+
+ else if(strcmp(se.key, "Down") == 0) {
+ manipulator.do_action(Manipulator::ACTION_MOVE_DOWN);
+ }
+
+ else if(strcmp(se.key, "Left") == 0) {
+ manipulator.do_action(Manipulator::ACTION_MOVE_LEFT);
+ }
+
+ else if(strcmp(se.key, "g") == 0) {
+ manipulator.do_action(Manipulator::ACTION_GRAB);
+ }
+
+ else if(strcmp(se.key, "r") == 0) {
+ manipulator.do_action(Manipulator::ACTION_RELEASE);