15 #ifndef TESTS_TEST_SDL_UTILS_HPP_INCLUDED
16 #define TESTS_TEST_SDL_UTILS_HPP_INCLUDED
22 typedef std::function<
31 for(
int i = 0xf;
i < 0x100;
i += 0x10) {
46 char filename[] =
"AA_CCCCCCCC.png";
47 snprintf(filename,
sizeof(filename),
"%02X_%08X.png", amount, color);
49 return root + filename;
GLvoid **typedef void(GLAPIENTRY *PFNGLGETVERTEXATTRIBDVPROC)(GLuint
void blend_image(const surface &src, tblend_functor functor)
itor second functor(surf, f[1])
surface blend_surface(const surface &surf, const double amount, const Uint32 color, const bool optimize)
Blends a surface with a color.
const std::string ¶meters float amount
std::string blend_get_filename(std::string root, const Uint8 amount, const Uint32 color)
GLsizei const GLcharARB ** string
std::function< void(const surface &, const double, const Uint32)> tblend_functor