Elaztek Developer Hub
Blamite Game Engine - Keystone  00419.04.29.24.1948.blamite
A library that enables the use of Qt in Blamite's editing tools.
sapien_main_window.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <QMainWindow>
4 #include <qlabel.h>
5 
7 #include "api/keystone_api.h"
8 
9 #include "ui_sapien_main_window.h"
10 
15 {
16  Q_OBJECT
17 
18 private:
19  Ui::sapien_main_window ui;
20  QLabel* status_text = nullptr;
21 
22 public:
23  SapienMainWindow(QWidget* parent = Q_NULLPTR);
25 
31  void SetStatusBarText(const char* status);
32 
38  void closeEvent(QCloseEvent* closeEvent) override;
39 };
SapienMainWindow
Class representing the main window for Sapien.
Definition: sapien_main_window.h:14
BlamEditorWindowType::Sapien
@ Sapien
The editor window is the main window for Sapien (see #sapien_main_window).
BlamEditorWindow::SetupWindow
void SetupWindow()
Prepares the main window layout.
Definition: BlamEditorWindow.cpp:23
BlamKeystone::Engine::StartEngine
KEYSTONE int StartEngine()
Initializes the game engine and starts the main loop thread.
Definition: engine.cpp:47
SapienMainWindow::~SapienMainWindow
~SapienMainWindow()
Definition: sapien_main_window.cpp:22
BlamEditorWindow.h
keystone_api.h
BlamEditorWindowType
BlamEditorWindowType
Enumerator used to identify the type of the main editor window.
Definition: keystone_api.h:53
SapienMainWindow::SetStatusBarText
void SetStatusBarText(const char *status)
Updates the current status bar text.
Definition: sapien_main_window.cpp:27
BlamKeystone::Engine::ShutdownEngine
KEYSTONE void ShutdownEngine()
Shuts down the engine.
Definition: engine.cpp:84
SapienMainWindow::SapienMainWindow
SapienMainWindow(QWidget *parent=Q_NULLPTR)
Definition: sapien_main_window.cpp:6
BlamEditorWindow
Interface class that all main editing tool windows inherit from.
Definition: BlamEditorWindow.h:34
engine.h
sapien_main_window.h
SapienMenubar
Class used for the Sapien menu bar.
Definition: sapien_menubar.h:11
SapienMainWindow::closeEvent
void closeEvent(QCloseEvent *closeEvent) override
Called when the window is closed.
Definition: sapien_main_window.cpp:32