Elaztek Developer Hub
Blamite Game Engine - Keystone  00402.09.29.23.0627.blamite
A library that enables the use of Qt in Blamite's editing tools.
BlamKeystoneAPI Namespace Reference

Namespace containing any exported functions within Keystone. More...

Functions

KEYSTONE_API KeystoneDialogResult ShowErrorDialog (bool allow_safemode, bool allow_continue, std::string text)
 Shows a Qt-driven error dialog. More...
 
KEYSTONE_API int ShowSapienWindow ()
 Shows the main Sapien window. More...
 
KEYSTONE_API int ShowFoundryWindow ()
 Shows the main Foundry window. More...
 
KEYSTONE_API int ShowGuerillaWindow ()
 Shows the main Guerilla window. More...
 
KEYSTONE_API int ShowFontToolWindow ()
 Shows the main FontTool window. More...
 
KEYSTONE_API int ShowToolWindow ()
 Shows the Tool GUI window. More...
 
KEYSTONE_API bool OpenWebURL (std::string url)
 Opens a URL in the user's default web browser. More...
 
KEYSTONE_API bool OpenLocalURL (std::string url)
 Opens a local file with the user's default application. More...
 

Detailed Description

Namespace containing any exported functions within Keystone.

Function Documentation

◆ OpenLocalURL()

bool BlamKeystoneAPI::OpenLocalURL ( std::string  url)

Opens a local file with the user's default application.

Parameters
url- The file path to open.
Deprecated:
Move this functionality into Strings, then remove.

◆ OpenWebURL()

bool BlamKeystoneAPI::OpenWebURL ( std::string  url)

Opens a URL in the user's default web browser.

Parameters
url- The URL to open.
Deprecated:
Move this functionality into Strings, then remove.

◆ ShowErrorDialog()

KeystoneDialogResult BlamKeystoneAPI::ShowErrorDialog ( bool  allow_safemode,
bool  allow_continue,
std::string  text 
)

Shows a Qt-driven error dialog.

It is a reimplementation of the original Win32 error dialog.

Parameters
allow_safemode- Whether or not to enable the 'Continue in Safe Mode' option.
allow_continue- Wehther or not to enable the 'Continue' option.
text- The message to display to the user.
Returns
The return code of the error dialog.
+ Here is the call graph for this function:

◆ ShowFontToolWindow()

int BlamKeystoneAPI::ShowFontToolWindow ( )

Shows the main FontTool window.

Returns
The Qt application execution result.
+ Here is the call graph for this function:

◆ ShowFoundryWindow()

int BlamKeystoneAPI::ShowFoundryWindow ( )

Shows the main Foundry window.

Returns
The Qt application execution result.
+ Here is the call graph for this function:

◆ ShowGuerillaWindow()

int BlamKeystoneAPI::ShowGuerillaWindow ( )

Shows the main Guerilla window.

Returns
The Qt application execution result.
+ Here is the call graph for this function:

◆ ShowSapienWindow()

int BlamKeystoneAPI::ShowSapienWindow ( )

Shows the main Sapien window.

Returns
The Qt application execution result.
+ Here is the call graph for this function:

◆ ShowToolWindow()

int BlamKeystoneAPI::ShowToolWindow ( )

Shows the Tool GUI window.

Returns
The Qt application execution result.
+ Here is the call graph for this function: