Opacity (O) modification. More...
#include <image_modifications.hpp>


Public Member Functions | |
| o_modification (float opacity) | |
| virtual surface | operator() (const surface &src) const |
| Applies the image-path modification on the specified surface. | |
| float | get_opacity () const |
Private Attributes | |
| float | opacity_ |
Opacity (O) modification.
Definition at line 293 of file image_modifications.hpp.
| image::o_modification::o_modification | ( | float | opacity | ) | [inline] |
Definition at line 296 of file image_modifications.hpp.
| float image::o_modification::get_opacity | ( | ) | const |
Definition at line 339 of file image_modifications.cpp.
References opacity_.
Applies the image-path modification on the specified surface.
Implements image::modification.
Definition at line 334 of file image_modifications.cpp.
References adjust_surface_alpha(), ftofxp, and opacity_.

float image::o_modification::opacity_ [private] |
Definition at line 303 of file image_modifications.hpp.
Referenced by get_opacity(), and operator()().
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:24:43 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |