#include <flashingimage.h>
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 } |
An image with an animated flashing effect
Used by the top bar when a new entry has been added to the player's diary
| void Stark::VisualFlashingImage::initFromSurface | ( | const Graphics::Surface * | surface, |
| uint | originalWidth, | ||
| uint | originalHeight | ||
| ) |
Prepare flashing the specified image
| void Stark::VisualFlashingImage::render | ( | const Common::Point & | position | ) |
Render the image at the specified position