ScummVM API documentation
Stark::VisualFlashingImage Class Reference

#include <flashingimage.h>

Inheritance diagram for Stark::VisualFlashingImage:
Stark::Visual

Public Member Functions

 VisualFlashingImage (Gfx::Driver *gfx)
 
void initFromSurface (const Graphics::Surface *surface, uint originalWidth, uint originalHeight)
 
void render (const Common::Point &position)
 
- Public Member Functions inherited from Stark::Visual
 Visual (VisualType type)
 
template<class T >
T * get ()
 

Static Public Attributes

static const VisualType TYPE = Visual::kFlashingImage
 

Additional Inherited Members

- Public Types inherited from Stark::Visual
enum  VisualType {
  kImageXMG = 2, kRendered = 3, kImageText = 4, kSmackerStream = 5,
  kActor = 6, kSmackerFMV = 7, kEffectFish = 8, kEffectBubbles = 9,
  kEffectFirefly = 10, kExplodingImage = 100, kFlashingImage = 101
}
 

Detailed Description

An image with an animated flashing effect

Used by the top bar when a new entry has been added to the player's diary

Member Function Documentation

◆ initFromSurface()

void Stark::VisualFlashingImage::initFromSurface ( const Graphics::Surface surface,
uint  originalWidth,
uint  originalHeight 
)

Prepare flashing the specified image

◆ render()

void Stark::VisualFlashingImage::render ( const Common::Point position)

Render the image at the specified position


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