Public Member Functions | Private Attributes

image::background_modification Struct Reference

Fill background with a color (BG). More...

#include <image_modifications.hpp>

Inheritance diagram for image::background_modification:
Inheritance graph
[legend]
Collaboration diagram for image::background_modification:
Collaboration graph
[legend]

List of all members.

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_

Detailed Description

Fill background with a color (BG).

Definition at line 379 of file image_modifications.hpp.


Constructor & Destructor Documentation

image::background_modification::background_modification ( SDL_Color const &  c  )  [inline]

Definition at line 381 of file image_modifications.hpp.


Member Function Documentation

const SDL_Color & image::background_modification::get_color (  )  const

Definition at line 432 of file image_modifications.cpp.

References color_.

surface image::background_modification::operator() ( const surface src  )  const [virtual]

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().

Here is the call graph for this function:


Member Data Documentation

Definition at line 386 of file image_modifications.hpp.

Referenced by get_color(), and operator()().


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:24:13 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs