ScummVM API documentation
Graphics::HotspotRenderer Class Reference

#include <hotspot_renderer.h>

Public Member Functions

void render (Surface *surface, const Common::Array< HotspotInfo > &hotspots, int gameWidth, int gameHeight, int overlayWidth, int overlayHeight, const PixelFormat &format, MarkerShape markerShape, bool showText)
 

Detailed Description

Renderer for drawing hotspot markers on overlay surface.

Member Function Documentation

◆ render()

void Graphics::HotspotRenderer::render ( Surface surface,
const Common::Array< HotspotInfo > &  hotspots,
int  gameWidth,
int  gameHeight,
int  overlayWidth,
int  overlayHeight,
const PixelFormat format,
MarkerShape  markerShape,
bool  showText 
)

Render hotspot markers on an overlay surface.

Parameters
surfaceThe overlay surface to draw on
hotspotsArray of hotspot information
gameWidthWidth of game screen
gameHeightHeight of game screen
overlayWidthWidth of overlay
overlayHeightHeight of overlay
formatPixel format of overlay
markerShapeType of marker to display
showTextWhether to display text labels

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