|
OpenGothic
Open source reimplementation of Gothic I and II
|
Main application window handling game rendering and input. More...
#include <mainwindow.h>
Public Member Functions | |
| MainWindow (Tempest::Device &device) | |
| Constructs the main window. | |
| ~MainWindow () override | |
| float | uiScale () const |
| Returns the current UI scaling factor. | |
Main application window handling game rendering and input.
MainWindow is the primary window class that manages the game's rendering loop, user input handling, UI composition, and game state transitions. It coordinates between the renderer, game session, and various UI components (menus, dialogs, inventory, etc.).
Definition at line 58 of file mainwindow.h.
|
explicit |
Constructs the main window.
| device | The graphics device used for rendering |
Definition at line 31 of file mainwindow.cpp.
|
override |
Definition at line 116 of file mainwindow.cpp.
| float MainWindow::uiScale | ( | ) | const |
Returns the current UI scaling factor.
Definition at line 134 of file mainwindow.cpp.