ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Wintermute::AdResponseBox Class Reference

#include <ad_response_box.h>

Inheritance diagram for Wintermute::AdResponseBox:
Collaboration diagram for Wintermute::AdResponseBox:

List of all members.

Public Types

enum  TResponseEvent { EVENT_PREV, EVENT_NEXT, EVENT_RESPONSE }

Public Member Functions

BaseObjectgetNextAccessObject (BaseObject *CurrObject)
BaseObjectgetPrevAccessObject (BaseObject *CurrObject)
bool getObjects (BaseArray< UIObject * > &objects, bool interactiveOnly)
void addResponse (const AdResponse *response)
bool handleResponse (const AdResponse *response)
bool handleResponseNum (uint32 num)
int32 getIdForResponseNum (uint32 num) const
void setLastResponseText (const char *text, const char *textOrig)
const char * getLastResponseText () const
const char * getLastResponseTextOrig () const
bool listen (BaseScriptHolder *param1, uint32 param2) override
bool weedResponses ()
bool display () override
bool createButtons ()
bool invalidateButtons ()
void clearButtons ()
void clearResponses ()
 AdResponseBox (BaseGame *inGame)
 ~AdResponseBox () override
bool loadFile (const char *filename)
bool loadBuffer (char *buffer, bool complete=true)
bool saveAsText (BaseDynamicBuffer *buffer, int indent) override
UIWindowgetResponseWindow ()
uint32 getNumResponses () const

Public Attributes

ScScript_waitingScript

Private Attributes

int32 _spacing
int32 _scrollOffset
BaseFont_fontHover
BaseFont_font
bool _horizontal
Rect32 _responseArea
int32 _verticalAlign
TTextAlign _align
BaseArray< UIButton * > _respButtons
BaseArray< const AdResponse * > _responses
UIWindow_shieldWindow
char * _lastResponseText
char * _lastResponseTextOrig
UIWindow_window

Detailed Description

Definition at line 41 of file ad_response_box.h.


Member Enumeration Documentation

Enumerator:
EVENT_PREV 
EVENT_NEXT 
EVENT_RESPONSE 

Definition at line 58 of file ad_response_box.h.


Constructor & Destructor Documentation

Wintermute::AdResponseBox::AdResponseBox ( BaseGame inGame  ) 

Definition at line 55 of file ad_response_box.cpp.

Wintermute::AdResponseBox::~AdResponseBox (  )  [override]

Definition at line 76 of file ad_response_box.cpp.


Member Function Documentation

void Wintermute::AdResponseBox::addResponse ( const AdResponse response  ) 

Definition at line 687 of file ad_response_box.cpp.

void Wintermute::AdResponseBox::clearButtons (  ) 

Definition at line 114 of file ad_response_box.cpp.

void Wintermute::AdResponseBox::clearResponses (  ) 

Definition at line 105 of file ad_response_box.cpp.

bool Wintermute::AdResponseBox::createButtons (  ) 

Definition at line 137 of file ad_response_box.cpp.

bool Wintermute::AdResponseBox::display (  )  [override, virtual]

Reimplemented from Wintermute::BaseObject.

Definition at line 472 of file ad_response_box.cpp.

int32 Wintermute::AdResponseBox::getIdForResponseNum ( uint32  num  )  const

Definition at line 691 of file ad_response_box.cpp.

const char * Wintermute::AdResponseBox::getLastResponseText (  )  const

Definition at line 675 of file ad_response_box.cpp.

const char * Wintermute::AdResponseBox::getLastResponseTextOrig (  )  const

Definition at line 679 of file ad_response_box.cpp.

BaseObject * Wintermute::AdResponseBox::getNextAccessObject ( BaseObject CurrObject  ) 

Definition at line 723 of file ad_response_box.cpp.

uint32 Wintermute::AdResponseBox::getNumResponses (  )  const

Definition at line 100 of file ad_response_box.cpp.

bool Wintermute::AdResponseBox::getObjects ( BaseArray< UIObject * > &  objects,
bool  interactiveOnly 
)

Definition at line 771 of file ad_response_box.cpp.

BaseObject * Wintermute::AdResponseBox::getPrevAccessObject ( BaseObject CurrObject  ) 

Definition at line 747 of file ad_response_box.cpp.

UIWindow * Wintermute::AdResponseBox::getResponseWindow (  ) 

Definition at line 683 of file ad_response_box.cpp.

bool Wintermute::AdResponseBox::handleResponse ( const AdResponse response  ) 

Definition at line 701 of file ad_response_box.cpp.

bool Wintermute::AdResponseBox::handleResponseNum ( uint32  num  ) 

Definition at line 696 of file ad_response_box.cpp.

bool Wintermute::AdResponseBox::invalidateButtons (  ) 

Definition at line 123 of file ad_response_box.cpp.

bool Wintermute::AdResponseBox::listen ( BaseScriptHolder param1,
uint32  param2 
) [override, virtual]

Reimplemented from Wintermute::BaseObject.

Definition at line 582 of file ad_response_box.cpp.

TOKEN_DEF_START TOKEN_DEF_END bool Wintermute::AdResponseBox::loadBuffer ( char *  buffer,
bool  complete = true 
)

Definition at line 269 of file ad_response_box.cpp.

bool Wintermute::AdResponseBox::loadFile ( const char *  filename  ) 

Definition at line 232 of file ad_response_box.cpp.

bool Wintermute::AdResponseBox::saveAsText ( BaseDynamicBuffer buffer,
int  indent 
) [override, virtual]

Reimplemented from Wintermute::BaseObject.

Definition at line 405 of file ad_response_box.cpp.

void Wintermute::AdResponseBox::setLastResponseText ( const char *  text,
const char *  textOrig 
)

Definition at line 670 of file ad_response_box.cpp.

bool Wintermute::AdResponseBox::weedResponses (  ) 

Definition at line 640 of file ad_response_box.cpp.


Member Data Documentation

Definition at line 88 of file ad_response_box.h.

Definition at line 84 of file ad_response_box.h.

Definition at line 83 of file ad_response_box.h.

Definition at line 85 of file ad_response_box.h.

Definition at line 92 of file ad_response_box.h.

Definition at line 93 of file ad_response_box.h.

Definition at line 90 of file ad_response_box.h.

Definition at line 82 of file ad_response_box.h.

Definition at line 81 of file ad_response_box.h.

Definition at line 94 of file ad_response_box.h.


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


Generated on Sat Sep 26 2020 05:04:11 for ResidualVM by doxygen 1.7.1
curved edge   curved edge