DDraceNetwork Docs
CUi::SConfirmPopupContext Struct Reference

#include <ui.h>

Inheritance diagram for CUi::SConfirmPopupContext:
[legend]
Collaboration diagram for CUi::SConfirmPopupContext:
[legend]

Public Types

enum  EConfirmationResult { UNSET = 0 , CONFIRMED , CANCELED }
 

Public Member Functions

 SConfirmPopupContext ()
 
void Reset ()
 
void YesNoButtons ()
 

Public Attributes

CUim_pUI
 
char m_aPositiveButtonLabel [128]
 
char m_aNegativeButtonLabel [128]
 
char m_aMessage [1024]
 
EConfirmationResult m_Result
 
CButtonContainer m_CancelButton
 
CButtonContainer m_ConfirmButton
 

Static Public Attributes

static constexpr float POPUP_MAX_WIDTH = 200.0f
 
static constexpr float POPUP_FONT_SIZE = 10.0f
 
static constexpr float POPUP_BUTTON_HEIGHT = 12.0f
 
static constexpr float POPUP_BUTTON_SPACING = 5.0f
 

Member Enumeration Documentation

◆ EConfirmationResult

Enumerator
UNSET 
CONFIRMED 
CANCELED 

Constructor & Destructor Documentation

◆ SConfirmPopupContext()

CUi::SConfirmPopupContext::SConfirmPopupContext ( )

Member Function Documentation

◆ Reset()

void CUi::SConfirmPopupContext::Reset ( )

◆ YesNoButtons()

void CUi::SConfirmPopupContext::YesNoButtons ( )

Member Data Documentation

◆ m_aMessage

char CUi::SConfirmPopupContext::m_aMessage[1024]

◆ m_aNegativeButtonLabel

char CUi::SConfirmPopupContext::m_aNegativeButtonLabel[128]

◆ m_aPositiveButtonLabel

char CUi::SConfirmPopupContext::m_aPositiveButtonLabel[128]

◆ m_CancelButton

CButtonContainer CUi::SConfirmPopupContext::m_CancelButton

◆ m_ConfirmButton

CButtonContainer CUi::SConfirmPopupContext::m_ConfirmButton

◆ m_pUI

CUi* CUi::SConfirmPopupContext::m_pUI

◆ m_Result

EConfirmationResult CUi::SConfirmPopupContext::m_Result

◆ POPUP_BUTTON_HEIGHT

constexpr float CUi::SConfirmPopupContext::POPUP_BUTTON_HEIGHT = 12.0f
staticconstexpr

◆ POPUP_BUTTON_SPACING

constexpr float CUi::SConfirmPopupContext::POPUP_BUTTON_SPACING = 5.0f
staticconstexpr

◆ POPUP_FONT_SIZE

constexpr float CUi::SConfirmPopupContext::POPUP_FONT_SIZE = 10.0f
staticconstexpr

◆ POPUP_MAX_WIDTH

constexpr float CUi::SConfirmPopupContext::POPUP_MAX_WIDTH = 200.0f
staticconstexpr

The documentation for this struct was generated from the following files: