Elaztek Developer Hub
Blamite Game Engine - blam!  00423.10.27.24.0533.blamite
The core library for the Blamite Game Engine.
BlamImGuiWindow_ErrorDialog Class Reference

Class used for the ImGUI-based error dialog. More...

#include <error_dialog.hpp>

+ Inheritance diagram for BlamImGuiWindow_ErrorDialog:
+ Collaboration diagram for BlamImGuiWindow_ErrorDialog:

Public Member Functions

void Draw ()
 Shows the error dialog, if enabled. More...
 

Public Attributes

bool show_error_dialog = false
 Whether or not to show the error dialog. More...
 
const char * title = ""
 The title of the error dialog. More...
 
const char * message = ""
 The contents of the error dialog. More...
 
- Public Attributes inherited from BlamImGuiWindow
bool show = false
 Controls whether or not the group should be shown. May not be used in all groups. More...
 

Detailed Description

Class used for the ImGUI-based error dialog.

This error dialog is used when calling Blam::UI::ImGUI::ShowErrorDialog. Unlike other error dialogs, this dialog does not support any user interaction behavior other than pressing "OK". As such, it should only ever be used for basic, informative messages - rather than any prompt that requires user action.

Member Function Documentation

◆ Draw()

void BlamImGuiWindow_ErrorDialog::Draw ( )
inlinevirtual

Shows the error dialog, if enabled.

Reimplemented from BlamImGuiWindow.

+ Here is the call graph for this function:

Member Data Documentation

◆ message

const char* BlamImGuiWindow_ErrorDialog::message = ""

The contents of the error dialog.

◆ show_error_dialog

bool BlamImGuiWindow_ErrorDialog::show_error_dialog = false

Whether or not to show the error dialog.

◆ title

const char* BlamImGuiWindow_ErrorDialog::title = ""

The title of the error dialog.


The documentation for this class was generated from the following file: