DayZ Enforce
Script API
Private Member Functions | Private Attributes | List of all members
NotificationMessage Class Reference

#include <missionBase.h>

Private Member Functions

void  NotificationMessage (Widget root_widget)
 
void  ~NotificationMessage ()
 
void  Show (string label, string text, int priority)
 
void  Hide ()
 

Private Attributes

const float  FADE_TIMEOUT = 5
 
const float  FADE_OUT_DURATION = 1
 
const float  FADE_IN_DURATION = 0.5
 
Widget  m_notification_widget
 
TextWidget  m_text_widget
 
private TextWidget  m_notification_label
 
private TextWidget  m_notification_text
 
private autoptr WidgetFadeTimer  m_fade_timer
 
private autoptr Timer  m_timeout_timer
 

Constructor & Destructor Documentation

void NotificationMessage::NotificationMessage ( Widget  root_widget )
private
void NotificationMessage::~NotificationMessage ( )
private

Member Function Documentation

void NotificationMessage::Show ( string  label,
string  text,
int  priority 
)
private
void NotificationMessage::Hide ( )
private

Member Data Documentation

const float NotificationMessage::FADE_TIMEOUT = 5
private

Referenced by Show().

const float NotificationMessage::FADE_OUT_DURATION = 1
private

Referenced by Show().

const float NotificationMessage::FADE_IN_DURATION = 0.5
private

Referenced by Show().

Widget NotificationMessage::m_notification_widget
private

Referenced by Hide(), NotificationMessage(), and Show().

TextWidget NotificationMessage::m_text_widget
private
private TextWidget NotificationMessage::m_notification_label
private

Referenced by NotificationMessage(), and Show().

private TextWidget NotificationMessage::m_notification_text
private

Referenced by NotificationMessage(), and Show().

private autoptr WidgetFadeTimer NotificationMessage::m_fade_timer
private

Referenced by Hide(), NotificationMessage(), and Show().

private autoptr Timer NotificationMessage::m_timeout_timer
private

Referenced by Hide(), NotificationMessage(), and Show().


The documentation for this class was generated from the following files:
Converted from CHM to HTML with chm2web Pro 2.85 (unicode)