Public Member Functions | |
Interface (LabEngine *vm) | |
void | attachButtonList (ButtonList *buttonList) |
Button * | createButton (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) |
Button * | getButton (uint16 id) |
Button * | checkButtonHit (Common::Point pos) |
Button * | checkNumButtonHit (Common::KeyCode key) |
void | handlePressedButton () |
void | mayShowCrumbIndicator () |
void | mayShowCrumbIndicatorOff () |
void Lab::Interface::drawButtonList | ( | ButtonList * | buttonList | ) |
Draws a button list to the screen.
Button* Lab::Interface::checkButtonHit | ( | Common::Point | pos | ) |
Checks whether or not the coords fall within one of the buttons in a list of buttons.
Button* Lab::Interface::checkNumButtonHit | ( | Common::KeyCode | key | ) |
Checks whether or not the coords fall within one of the buttons in a list of buttons.