src/mainwindow.h

Sun, 09 Apr 2023 12:23:32 +0300

author
Teemu Piippo <teemu.s.piippo@gmail.com>
date
Sun, 09 Apr 2023 12:23:32 +0300
changeset 360
41b38b9e05a2
parent 355
e81f4ad53efd
child 361
c5e8b68e34f8
permissions
-rw-r--r--

`PartRenderer::renderVao` no longer throws if bad array class is given, this is now checked on compile time

#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include "ui_mainwindow.h"
#include "src/gl/common.h"

class MainWindow : public QMainWindow, public Ui_MainWindow
{
	Q_OBJECT
public:
	explicit MainWindow(QWidget *parent = nullptr);
Q_SIGNALS:
	void renderStyleSelected(gl::RenderStyle newStyle);
public Q_SLOTS:
	void setRenderStyle(gl::RenderStyle style);
private Q_SLOTS:
	void showAboutDialog();
};

#endif // MAINWINDOW_H

mercurial