| 7114 | } |
| 7115 | |
| 7116 | void MainWindow::doActionRenderToFile() |
| 7117 | { |
| 7118 | ccGLWindowInterface* win = getActiveGLWindow(); |
| 7119 | if (!win) |
| 7120 | return; |
| 7121 | |
| 7122 | ccRenderToFileDlg rtfDlg(win->glWidth(), win->glHeight(), this); |
| 7123 | |
| 7124 | if (rtfDlg.exec()) |
| 7125 | { |
| 7126 | QApplication::processEvents(); |
| 7127 | win->renderToFile(rtfDlg.getFilename(), rtfDlg.getZoom(), rtfDlg.dontScalePoints(), rtfDlg.renderOverlayItems()); |
| 7128 | } |
| 7129 | } |
| 7130 | |
| 7131 | void MainWindow::doActionEditCamera() |
| 7132 | { |
nothing calls this directly
no test coverage detected