|
FIFE
|
#include <visual.h>
Collaboration diagram for FIFE::OverlayColors:Public Member Functions | |
| OverlayColors () | |
| Constructors. More... | |
| OverlayColors (ImagePtr image) | |
| OverlayColors (AnimationPtr animation) | |
| ~OverlayColors () | |
| Destructor. More... | |
| void | setColorOverlayImage (ImagePtr image) |
| ImagePtr | getColorOverlayImage () |
| void | setColorOverlayAnimation (AnimationPtr animation) |
| AnimationPtr | getColorOverlayAnimation () |
| void | changeColor (const Color &source, const Color &target) |
| const std::map< Color, Color > & | getColors () |
| void | resetColors () |
Private Attributes | |
| std::map< Color, Color > | m_colorMap |
| ImagePtr | m_image |
| AnimationPtr | m_animation |
| FIFE::OverlayColors::OverlayColors | ( | ) |
Constructors.
Definition at line 46 of file visual.cpp.
| FIFE::OverlayColors::OverlayColors | ( | ImagePtr | image | ) |
Definition at line 49 of file visual.cpp.
| FIFE::OverlayColors::OverlayColors | ( | AnimationPtr | animation | ) |
Definition at line 53 of file visual.cpp.
| FIFE::OverlayColors::~OverlayColors | ( | ) |
Destructor.
Definition at line 57 of file visual.cpp.
Definition at line 76 of file visual.cpp.
References FIFE::Color::getAlpha(), FIFE::Color::getB(), FIFE::Color::getG(), FIFE::Color::getR(), m_colorMap, and FIFE::Color::set().
Referenced by FIFE::ActionVisual::addColorOverlay(), FIFE::ObjectVisual::addStaticColorOverlay(), and FIFE::InstanceRenderer::renderOverlay().
Here is the caller graph for this function:| AnimationPtr FIFE::OverlayColors::getColorOverlayAnimation | ( | ) |
Definition at line 72 of file visual.cpp.
References m_animation.
Referenced by FIFE::ActionVisual::addColorOverlay(), and FIFE::LayerCache::updateVisual().
Here is the caller graph for this function:| ImagePtr FIFE::OverlayColors::getColorOverlayImage | ( | ) |
Definition at line 64 of file visual.cpp.
References m_image.
Referenced by FIFE::ObjectVisual::addStaticColorOverlay(), FIFE::InstanceRenderer::getMultiColorOverlay(), and FIFE::InstanceRenderer::renderOverlay().
Here is the caller graph for this function:Definition at line 84 of file visual.cpp.
References m_colorMap.
Referenced by FIFE::ActionVisual::addColorOverlay(), FIFE::ObjectVisual::addStaticColorOverlay(), FIFE::InstanceRenderer::getMultiColorOverlay(), and FIFE::InstanceRenderer::renderOverlay().
Here is the caller graph for this function:| void FIFE::OverlayColors::resetColors | ( | ) |
Definition at line 88 of file visual.cpp.
References m_colorMap.
| void FIFE::OverlayColors::setColorOverlayAnimation | ( | AnimationPtr | animation | ) |
Definition at line 68 of file visual.cpp.
References m_animation.
Referenced by FIFE::ActionVisual::addColorOverlay().
Here is the caller graph for this function:| void FIFE::OverlayColors::setColorOverlayImage | ( | ImagePtr | image | ) |
Definition at line 60 of file visual.cpp.
References m_image.
Referenced by FIFE::ObjectVisual::addStaticColorOverlay(), and FIFE::LayerCache::updateVisual().
Here is the caller graph for this function:
|
private |
Definition at line 69 of file visual.h.
Referenced by getColorOverlayAnimation(), and setColorOverlayAnimation().
Definition at line 67 of file visual.h.
Referenced by changeColor(), getColors(), and resetColors().
|
private |
Definition at line 68 of file visual.h.
Referenced by getColorOverlayImage(), and setColorOverlayImage().