![]() |
Blamite Game Engine - Keystone
00402.09.29.23.0627.blamite
A library that enables the use of Qt in Blamite's editing tools.
|
Class representing the engine viewport widget. More...
#include <engine.h>
Public Member Functions | |
BlamEngineViewportWidget () | |
~BlamEngineViewportWidget () | |
void | mouseMoveEvent (QMouseEvent *event) |
void | mousePressEvent (QMouseEvent *event) |
void | mouseReleaseEvent (QMouseEvent *event) |
void | keyPressEvent (QKeyEvent *event) |
void | keyReleaseEvent (QKeyEvent *event) |
void | focusInEvent (QFocusEvent *focusInEvent) |
void | focusOutEvent (QFocusEvent *focusInEvent) |
void | UpdateStatusBar () |
Updates the viewport status bar information. More... | |
Public Attributes | |
game_viewport * | viewport_main_widget = nullptr |
The viewport parent widget pointer. See game_viewport for details. More... | |
Class representing the engine viewport widget.
This widget is a basic widget that the game engine renders onto. This widget is created from the SDL2 native window handle and used in any case where we need to have a real-time preview of any engine content.
BlamEngineViewportWidget::BlamEngineViewportWidget | ( | ) |
BlamEngineViewportWidget::~BlamEngineViewportWidget | ( | ) |
void BlamEngineViewportWidget::focusInEvent | ( | QFocusEvent * | focusInEvent | ) |
void BlamEngineViewportWidget::focusOutEvent | ( | QFocusEvent * | focusInEvent | ) |
void BlamEngineViewportWidget::keyPressEvent | ( | QKeyEvent * | event | ) |
void BlamEngineViewportWidget::keyReleaseEvent | ( | QKeyEvent * | event | ) |
void BlamEngineViewportWidget::mouseMoveEvent | ( | QMouseEvent * | event | ) |
void BlamEngineViewportWidget::mousePressEvent | ( | QMouseEvent * | event | ) |
void BlamEngineViewportWidget::mouseReleaseEvent | ( | QMouseEvent * | event | ) |
void BlamEngineViewportWidget::UpdateStatusBar | ( | ) |
Updates the viewport status bar information.
game_viewport* BlamEngineViewportWidget::viewport_main_widget = nullptr |
The viewport parent widget pointer. See game_viewport for details.