#include <hotspots.h>
Public Member Functions | |
| SceneHoverCaption (const HollywoodGameStrings &strings) | |
| void | reset () |
| void | setCurrentStrip (byte stripIndex) |
| void | setRelationContext (byte relationMode, byte primaryInventoryItem, const Common::String &primaryItemName) |
| bool | refreshNow (const SceneHotspotTable &hotspots, const Graphics::Surface &savedFramebuffer, uint16 cursorX, uint16 cursorY, uint16 xOffset, uint16 yOffset) |
| bool | advance (uint32 deltaMillis, const SceneHotspotTable &hotspots, const Graphics::Surface &savedFramebuffer, uint16 cursorX, uint16 cursorY, uint16 xOffset, uint16 yOffset) |
| void | applyPalette (Common::Array< byte > &palette) const |
| void | draw (Graphics::Surface &surface, HollywoodFont &font) const |
| byte | currentStrip () const |
| byte | requestedStrip () const |
| byte | resolvedItem () const |
| const Common::String & | text () const |
Builds the bottom caption for the selected verb and hovered scene item.
advance() throttles hotspot resolution, while refreshNow() forces an update. Relation context adds the selected inventory item and a valid second target.