◆ doScroll()
bool MM::Xeen::ButtonContainer::doScroll |
( |
bool |
rollUp, |
|
|
bool |
fadeIn |
|
) |
| |
|
overrideprotectedvirtual |
Draws the scroll in the background
- Parameters
-
rollUp | If true, rolls up the scroll. If false, unrolls. |
fadeIn | If true, does an initial fade in |
- Returns
- True if key or mouse pressed
Reimplemented from MM::Xeen::Cutscenes.
◆ loadStrings() [1/2]
void MM::Xeen::ButtonContainer::loadStrings |
( |
const Common::Path & |
name | ) |
|
|
protected |
Load a set of text strings from the given resource
- Parameters
-
name | Name of resource containing strings |
◆ loadStrings() [2/2]
void MM::Xeen::ButtonContainer::loadStrings |
( |
const Common::Path & |
name, |
|
|
int |
ccMode |
|
) |
| |
|
protected |
Load a set of text strings from the given resource
- Parameters
-
name | Name of resource containing strings |
ccMode | Optional cc file number to explicitly use |
◆ setWaitBounds()
void MM::Xeen::ButtonContainer::setWaitBounds |
( |
| ) |
|
|
protected |
Sets the wait bounds, the area where clicking with the mouse generates the equivalent of a space bar press, to the main interface area
◆ saveButtons()
void MM::Xeen::ButtonContainer::saveButtons |
( |
| ) |
|
Saves the current list of buttons
◆ drawButtons()
void MM::Xeen::ButtonContainer::drawButtons |
( |
XSurface * |
surface | ) |
|
Draws the buttons onto the passed surface
◆ clearEvents()
void MM::Xeen::ButtonContainer::clearEvents |
( |
| ) |
|
|
inline |
Clears any currently set button value
The documentation for this class was generated from the following file: