DDraceNetwork Documentation
Loading...
Searching...
No Matches
IGraphics::CMessageBox Class Reference

#include <graphics.h>

Collaboration diagram for IGraphics::CMessageBox:
[legend]

Public Attributes

const char * m_pTitle = nullptr
const char * m_pMessage = nullptr
EMessageBoxType m_Type = EMessageBoxType::ERROR
std::vector< CMessageBoxButtonm_vButtons = {{.m_pLabel = "OK", .m_Confirm = true, .m_Cancel = true}}

Detailed Description

Description of a message box popup.

See also
ShowMessageBox

Member Data Documentation

◆ m_pMessage

const char* IGraphics::CMessageBox::m_pMessage = nullptr

Main message of the message box.

◆ m_pTitle

const char* IGraphics::CMessageBox::m_pTitle = nullptr

Title of the message box.

◆ m_Type

EMessageBoxType IGraphics::CMessageBox::m_Type = EMessageBoxType::ERROR

Type of the message box.

◆ m_vButtons

std::vector<CMessageBoxButton> IGraphics::CMessageBox::m_vButtons = {{.m_pLabel = "OK", .m_Confirm = true, .m_Cancel = true}}

Buttons shown in the message box. At least one button is required. The buttons are laid out from left to right.


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