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.
utils.h File Reference
#include <string>
#include <qgraphicsview.h>
#include "api/keystone_api.h"
#include "components/ui/shared/dialogs/message_box/qt_message_box.h"
+ Include dependency graph for utils.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 BlamKeystone
 Namespace for anything within the Keystone library.
 
 BlamKeystone::Utils
 General-purpose utilities for use within Keystone.
 

Macros

#define KEYSTONE
 

Functions

KEYSTONE void BlamKeystone::Utils::SetGraphicsViewImage (QGraphicsView *graphics_view, std::string image_path, Qt::AspectRatioMode aspect_ratio_mode)
 Applies an image to a graphics view, without the need for extra scene/pixmap management. More...
 
KEYSTONE KeystoneDialogResult BlamKeystone::Utils::ShowErrorDialog (bool allow_safemode, bool allow_continue, std::string text)
 Shows an error dialog that allows the user to continue execution, continue in 'safe mode', or exit the program. More...
 
KEYSTONE KeystoneDialogResult BlamKeystone::Utils::ShowMessageBox (std::string message)
 
KEYSTONE KeystoneDialogResult BlamKeystone::Utils::ShowMessageBox (std::string title, std::string message)
 
KEYSTONE KeystoneDialogResult BlamKeystone::Utils::ShowMessageBox (std::string title, std::string message, KeystoneMessageBoxType type)
 
KEYSTONE KeystoneDialogResult BlamKeystone::Utils::ShowMessageBox (std::string title, std::string message, KeystoneMessageBoxType type, KeystoneMessageBoxButtons buttons)
 
KEYSTONE uint32_t BlamKeystone::Utils::ConvertQtVirtKeyToSDLVirtKey (int key)
 
KEYSTONE uint32_t BlamKeystone::Utils::ConvertQtVirtKeyToSDLScancode (int key)
 
KEYSTONE bool BlamKeystone::Utils::IsPointWithinGeometry (QWidget *widget, QPoint point)
 

Macro Definition Documentation

◆ KEYSTONE

#define KEYSTONE