Elaztek Developer Hub
Blamite Game Engine - Keystone  00386.06.16.23.0646.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 "../windows/game_window/sapien_game_window.h"
8 #include "../windows/preferences/sapien_preferences.h"
9 #include "api/keystone_api.h"
10 
11 #include "ui_sapien_main_window.h"
12 
17 {
18  Q_OBJECT
19 
20 public:
21  sapien_main_window(QWidget* parent = Q_NULLPTR);
23 
24  void SetStatusBarText(const char* status);
25 
26  void closeEvent(QCloseEvent* closeEvent);
27 
28 private:
29  Ui::sapien_main_window ui;
30  QLabel* status_text;
31  sapien_game_window game_window;
32  sapien_preferences preferences_window;
33 };
sapien_preferences
Definition: sapien_preferences.h:8
sapien_main_window::sapien_main_window
sapien_main_window(QWidget *parent=Q_NULLPTR)
Definition: sapien_main_window.cpp:6
BlamEditorWindowType
BlamEditorWindowType
Enumerator used to identify the type of the main editor window.
Definition: BlamEditorWindow.h:33
sapien_main_window::SetStatusBarText
void SetStatusBarText(const char *status)
Definition: sapien_main_window.cpp:27
BlamEditorWindowType::Sapien
@ Sapien
The editor window is the main window for Sapien (see sapien_main_window).
sapien_game_window
Definition: sapien_game_window.h:6
BlamEditorWindow::SetupWindow
void SetupWindow()
Prepares the main window layout.
Definition: BlamEditorWindow.cpp:21
BlamKeystone::Engine::StartEngine
KEYSTONE int StartEngine()
Initializes the game engine and starts the main loop thread.
Definition: engine.cpp:42
sapien_main_window::~sapien_main_window
~sapien_main_window()
Definition: sapien_main_window.cpp:22
BlamEditorWindow.h
keystone_api.h
sapien_main_window
The main window for Sapien.
Definition: sapien_main_window.h:16
BlamKeystone::Engine::ShutdownEngine
KEYSTONE void ShutdownEngine()
Shuts down the engine.
Definition: engine.cpp:79
BlamEditorWindow
Interface class that all main editing tool windows inherit from.
Definition: BlamEditorWindow.h:48
engine.h
sapien_main_window.h
SapienMenubar
Definition: sapien_menubar.h:6
sapien_main_window::closeEvent
void closeEvent(QCloseEvent *closeEvent)
Definition: sapien_main_window.cpp:32