ScummVM API documentation
Lab::Interface Class Reference

Public Member Functions

 Interface (LabEngine *vm)
 
void attachButtonList (ButtonList *buttonList)
 
ButtoncreateButton (uint16 x, uint16 y, uint16 id, Common::KeyCode key, Image *image, Image *altImage)
 
void toggleButton (Button *button, uint16 penColor, bool enable)
 
void drawButtonList (ButtonList *buttonList)
 
void freeButtonList (ButtonList *buttonList)
 
ButtongetButton (uint16 id)
 
ButtoncheckButtonHit (Common::Point pos)
 
ButtoncheckNumButtonHit (Common::KeyCode key)
 
void handlePressedButton ()
 
void mayShowCrumbIndicator ()
 
void mayShowCrumbIndicatorOff ()
 

Member Function Documentation

◆ drawButtonList()

void Lab::Interface::drawButtonList ( ButtonList buttonList)

Draws a button list to the screen.

◆ checkButtonHit()

Button* Lab::Interface::checkButtonHit ( Common::Point  pos)

Checks whether or not the coords fall within one of the buttons in a list of buttons.

◆ checkNumButtonHit()

Button* Lab::Interface::checkNumButtonHit ( Common::KeyCode  key)

Checks whether or not the coords fall within one of the buttons in a list of buttons.


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