Blamite Game Engine - blam!  00296.01.12.21.0102.blamite
The core library for the Blamite Game Engine.
error_notice.cpp File Reference
#include "dialogs.h"
#include <Uxtheme.h>
#include <sstream>
#include "core.h"
#include "res/resource.h"
#include "components/settings/config/config.h"
#include <Strings/components/utils/string/string.h>

Functions

INT_PTR CALLBACK ErrorDialog (HWND hwndDlg, UINT message, WPARAM wParam, LPARAM lParam)
 Main dialog procedure for the Error dialog. More...
 

Variables

HINSTANCE err_instance_handle = NULL
 Local copy of application instance handle. More...
 
LPSTR details = ""
 
bool enable_continue = true
 
bool enable_safemode = true
 
HWND parent
 

Function Documentation

◆ ErrorDialog()

INT_PTR CALLBACK ErrorDialog ( HWND  hwndDlg,
UINT  message,
WPARAM  wParam,
LPARAM  lParam 
)

Main dialog procedure for the Error dialog.

Parameters
hDlg- Handle of the dialog box
message- The message recieved by the dialog
wParam- The WPARAM accompanying the message. Not always used.
lParam- The LPARAM accompanying the message. Not always used.
Returns
Whether or not the dialog is closed.

Variable Documentation

◆ details

LPSTR details = ""

◆ enable_continue

bool enable_continue = true

◆ enable_safemode

bool enable_safemode = true

◆ err_instance_handle

HINSTANCE err_instance_handle = NULL

Local copy of application instance handle.

◆ parent

HWND parent