LIGHT (L) modification. More...
#include <image_modifications.hpp>


Public Member Functions | |
| light_modification (const surface &surf) | |
| virtual surface | operator() (const surface &src) const |
| Applies the image-path modification on the specified surface. | |
| const surface & | get_surface () const |
Private Attributes | |
| surface | surf_ |
LIGHT (L) modification.
Definition at line 259 of file image_modifications.hpp.
| image::light_modification::light_modification | ( | const surface & | surf | ) | [inline] |
Definition at line 262 of file image_modifications.hpp.
| const surface & image::light_modification::get_surface | ( | ) | const |
Definition at line 296 of file image_modifications.cpp.
References surf_.
Applies the image-path modification on the specified surface.
Implements image::modification.
Definition at line 284 of file image_modifications.cpp.
References light_surface(), make_neutral_surface(), scale_surface(), and surf_.

surface image::light_modification::surf_ [private] |
Definition at line 270 of file image_modifications.hpp.
Referenced by get_surface(), and operator()().
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:24:42 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |