The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Typedefs | Functions
test_sdl_utils.hpp File Reference
#include "sdl/utils.hpp"
#include "utils/functional.hpp"
Include dependency graph for test_sdl_utils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef std::function< void(const
surface &, const double, const
Uint32)> 
tblend_functor
 

Functions

void blend_image (const surface &src, tblend_functor functor)
 
std::string blend_get_filename (std::string root, const Uint8 amount, const Uint32 color)
 

Typedef Documentation

typedef std::function< void(const surface&, const double, const Uint32)> tblend_functor

Definition at line 24 of file test_sdl_utils.hpp.

Function Documentation

std::string blend_get_filename ( std::string  root,
const Uint8  amount,
const Uint32  color 
)
inline

Definition at line 41 of file test_sdl_utils.hpp.

Referenced by create_image_blend_functor().

void blend_image ( const surface src,
tblend_functor  functor 
)
inline

Definition at line 28 of file test_sdl_utils.hpp.

References blend_surface(), functor(), and i.

Referenced by create_image_blend().