Aeon Engine c550894
AeonGames Open Source Game Engine
Loading...
Searching...
No Matches
MainWindow.h
1/*
2Copyright (C) 2016-2019,2021,2022,2024,2026 Rodrigo Jose Hernandez Cordoba
3
4Licensed under the Apache License, Version 2.0 (the "License");
5you may not use this file except in compliance with the License.
6You may obtain a copy of the License at
7
8http://www.apache.org/licenses/LICENSE-2.0
9
10Unless required by applicable law or agreed to in writing, software
11distributed under the License is distributed on an "AS IS" BASIS,
12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13See the License for the specific language governing permissions and
14limitations under the License.
15*/
16#ifndef AEONGAMES_MAINWINDOW_H
17#define AEONGAMES_MAINWINDOW_H
18
19#include <memory>
20#include "ui_MainWindow.h"
21
22namespace AeonGames
23{
24 class NodeEditor;
25 class CameraSettings;
26 class Renderer;
28 class MainWindow : public QMainWindow
29 {
30 Q_OBJECT
31 public:
37 MainWindow ( QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags{} );
40 private slots:
41 void on_actionNewScene_triggered();
42 void on_actionNewShader_triggered();
43 void on_actionOpen_triggered();
44 void on_actionSave_triggered();
45 void on_actionExit_triggered();
46 void on_actionCamera_triggered();
47 void fieldOfViewChanged ( double aFieldOfView );
48 void nearChanged ( double aNear );
49 void farChanged ( double aFar );
50 private:
51 Ui::MainWindow mUi{};
52 CameraSettings* mCameraSettings{};
53 };
54}
55#endif
Dialog for adjusting camera projection settings.
~MainWindow()
Destructor.
MainWindow(QWidget *parent=nullptr, Qt::WindowFlags flags=Qt::WindowFlags{})
Construct the main window.
Abstract base class for rendering backends.
Definition Renderer.hpp:44
<- This is here just for the literals
Definition AABB.hpp:31