Fill background with a color (BG). More...
#include <image_modifications.hpp>


Public Member Functions | |
| background_modification (SDL_Color const &c) | |
| virtual surface | operator() (const surface &src) const |
| Applies the image-path modification on the specified surface. | |
| const SDL_Color & | get_color () const |
Private Attributes | |
| SDL_Color | color_ |
Fill background with a color (BG).
Definition at line 379 of file image_modifications.hpp.
| image::background_modification::background_modification | ( | SDL_Color const & | c | ) | [inline] |
Definition at line 381 of file image_modifications.hpp.
| const SDL_Color & image::background_modification::get_color | ( | ) | const |
Definition at line 432 of file image_modifications.cpp.
References color_.
Applies the image-path modification on the specified surface.
Implements image::modification.
Definition at line 422 of file image_modifications.cpp.
References color_, and make_neutral_surface().

SDL_Color image::background_modification::color_ [private] |
Definition at line 386 of file image_modifications.hpp.
Referenced by get_color(), and operator()().
| Generated by doxygen 1.7.1 on Fri May 25 2012 01:24:13 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |