#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) |
Renderer for drawing hotspot markers on overlay surface.
| 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.
| surface | The overlay surface to draw on |
| hotspots | Array of hotspot information |
| gameWidth | Width of game screen |
| gameHeight | Height of game screen |
| overlayWidth | Width of overlay |
| overlayHeight | Height of overlay |
| format | Pixel format of overlay |
| markerShape | Type of marker to display |
| showText | Whether to display text labels |