◆ doScroll()
bool 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 Xeen::Cutscenes.
◆ loadStrings() [1/2]
void Xeen::ButtonContainer::loadStrings |
( |
const Common::String & |
name | ) |
|
|
protected |
Load a set of text strings from the given resource
- Parameters
-
name | Name of resource containing strings |
◆ loadStrings() [2/2]
void Xeen::ButtonContainer::loadStrings |
( |
const Common::String & |
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 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 Xeen::ButtonContainer::saveButtons |
( |
| ) |
|
Saves the current list of buttons
◆ drawButtons()
void Xeen::ButtonContainer::drawButtons |
( |
XSurface * |
surface | ) |
|
Draws the buttons onto the passed surface
◆ clearEvents()
void Xeen::ButtonContainer::clearEvents |
( |
| ) |
|
|
inline |
Clears any currently set button value
The documentation for this class was generated from the following file: