| 203 | } |
| 204 | |
| 205 | void MandelbrotWidget::keyPressEvent(QKeyEvent* event) |
| 206 | { |
| 207 | if(event->key() == Qt::Key_Escape) { |
| 208 | this->close(); |
| 209 | } |
| 210 | } |
| 211 | |
| 212 | // the mandelbrot example shows how to create a mandelbrot image in |
| 213 | // OpenCL and render the image as a texture in OpenGL |
nothing calls this directly
no outgoing calls
no test coverage detected