 |
Blamite Game Engine - Keystone
00424.10.27.24.1841.blamite
A library that enables the use of Qt in Blamite's editing tools.
|
Go to the documentation of this file.
6 #include <Strings/components/classes/events/events.h>
11 #include "ui_sapien_main_window.h"
21 Ui::sapien_main_window ui;
22 QLabel* status_text =
nullptr;
Class representing the main window for Sapien.
Definition: sapien_main_window.h:16
void OnMouseClickEvent(MouseClickEvent *event) override
Definition: sapien_main_window.cpp:72
bool ShouldExit()
Definition: SelectProjectDialog.cpp:26
@ Ok
Dialog is shown with an [OK] button.
@ Error
Dialog icon will be a red circle with an X.
@ Sapien
The editor window is the main window for Sapien (see #sapien_main_window).
void SetupWindow()
Prepares the main window layout.
Definition: BlamEditorWindow.cpp:23
KEYSTONE int StartEngine()
Initializes the game engine and starts the main loop thread.
Definition: engine.cpp:47
KEYSTONE KeystoneDialogResult ShowMessageBox(std::string message)
Definition: utils.cpp:294
~SapienMainWindow()
Definition: sapien_main_window.cpp:55
KEYSTONE BlamEditorToolWindow * GetToolWindow(BlamEditorToolWindowType type)
Retrieves a desired tool window.
Definition: editor_data.cpp:39
void OnKeyPressEvent(KeyPressEvent *event) override
Definition: sapien_main_window.cpp:117
BlamEditorWindowType
Enumerator used to identify the type of the main editor window.
Definition: keystone_api.h:53
Definition: SelectProjectDialog.h:9
void SetStatusBarText(const char *status)
Updates the current status bar text.
Definition: sapien_main_window.cpp:60
KEYSTONE void ShutdownEngine()
Shuts down the engine.
Definition: engine.cpp:90
SapienMainWindow(QWidget *parent=Q_NULLPTR)
Definition: sapien_main_window.cpp:19
Interface class that all main editing tool windows inherit from.
Definition: BlamEditorWindow.h:34
void closeEvent(QCloseEvent *closeEvent) override
Called when the window is closed.
Definition: sapien_main_window.cpp:65