ScummVM API documentation
Access::BubbleBox Class Reference
Inheritance diagram for Access::BubbleBox:
Access::Manager

Public Member Functions

 BubbleBox (AccessEngine *vm, Access::BoxType type, int x, int y, int w, int h, int val1, int val2, int val3, int val4, Common::String title)
 
void load (Common::SeekableReadStream *stream)
 
void clearBubbles ()
 
void placeBubble (const Common::String &msg)
 
void placeBubble1 (const Common::String &msg)
 
void calcBubble (const Common::String &msg)
 
void printBubble (const Common::String &msg)
 
void drawBubble (int index)
 
void doBox (int item, int box)
 
int doBox_v1 (int item, int box, int &btnSelected)
 
void getList (const char *const data[], int *flags)
 
void setCursorPos (int posX, int posY)
 
void printString (Common::String msg)
 
- Public Member Functions inherited from Access::Manager
 Manager (AccessEngine *vm)
 

Public Attributes

BoxType _type
 
Common::Rect _bounds
 
Common::StringArray _nameIndex
 
Common::String _bubbleTitle
 
Common::String _bubbleDisplStr
 
Common::String _tempList [60]
 
int _tempListIdx [60]
 
int _btnId1
 
int _btnX1
 
int _btnId2
 
int _btnX2
 
int _btnId3
 
int _btnX3
 
Common::Rect _btnUpPos
 
Common::Rect _btnDownPos
 
Common::Array< Common::Rect_bubbles
 

Additional Inherited Members

- Protected Attributes inherited from Access::Manager
AccessEngine_vm
 

Member Function Documentation

◆ calcBubble()

void Access::BubbleBox::calcBubble ( const Common::String msg)

Calculate the size of a bubble needed to hold a given string

◆ printBubble()

void Access::BubbleBox::printBubble ( const Common::String msg)

Prints a text bubble and it's contents


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