DDraceNetwork Docs
CQuickAction Class Reference

#include <quick_action.h>

Public Member Functions

 CQuickAction (const char *pLabel, const char *pDescription, FButtonClickCallback pfnCallback, FButtonDisabledCallback pfnDisabledCallback, FButtonActiveCallback pfnActiveCallback, FButtonColorCallback pfnColorCallback)
 
void Call () const
 
bool Disabled ()
 
bool Active ()
 
int Color ()
 
const char * Label () const
 
const char * LabelShort () const
 
const char * Description () const
 
const void * ActionButtonId () const
 

Private Attributes

const char * m_pLabel
 
const char * m_pDescription
 
FButtonClickCallback m_pfnCallback
 
FButtonDisabledCallback m_pfnDisabledCallback
 
FButtonActiveCallback m_pfnActiveCallback
 
FButtonColorCallback m_pfnColorCallback
 
const char m_ActionButtonId = 0
 

Constructor & Destructor Documentation

◆ CQuickAction()

CQuickAction::CQuickAction ( const char *  pLabel,
const char *  pDescription,
FButtonClickCallback  pfnCallback,
FButtonDisabledCallback  pfnDisabledCallback,
FButtonActiveCallback  pfnActiveCallback,
FButtonColorCallback  pfnColorCallback 
)
inline

Member Function Documentation

◆ ActionButtonId()

const void * CQuickAction::ActionButtonId ( ) const
inline

◆ Active()

bool CQuickAction::Active ( )
inline

◆ Call()

void CQuickAction::Call ( ) const
inline

◆ Color()

int CQuickAction::Color ( )
inline

◆ Description()

const char * CQuickAction::Description ( ) const
inline

◆ Disabled()

bool CQuickAction::Disabled ( )
inline

◆ Label()

const char * CQuickAction::Label ( ) const
inline

◆ LabelShort()

const char * CQuickAction::LabelShort ( ) const
inline

Member Data Documentation

◆ m_ActionButtonId

const char CQuickAction::m_ActionButtonId = 0
private

◆ m_pDescription

const char* CQuickAction::m_pDescription
private

◆ m_pfnActiveCallback

FButtonActiveCallback CQuickAction::m_pfnActiveCallback
private

◆ m_pfnCallback

FButtonClickCallback CQuickAction::m_pfnCallback
private

◆ m_pfnColorCallback

FButtonColorCallback CQuickAction::m_pfnColorCallback
private

◆ m_pfnDisabledCallback

FButtonDisabledCallback CQuickAction::m_pfnDisabledCallback
private

◆ m_pLabel

const char* CQuickAction::m_pLabel
private

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