The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Macros | Functions
alpha.hpp File Reference

Compatibility layer for using SDL 1.2 and 2.0. More...

#include <SDL.h>
Include dependency graph for alpha.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SDL_SRCALPHA   0x00010000
 

Functions

int SDL_SetAlpha (SDL_Surface *surface, Uint32 flag, Uint8 alpha)
 

Detailed Description

Compatibility layer for using SDL 1.2 and 2.0.

Emulates SDL_SetAlpha.

Definition in file alpha.hpp.

Macro Definition Documentation

#define SDL_SRCALPHA   0x00010000

Function Documentation

int SDL_SetAlpha ( SDL_Surface *  surface,
Uint32  flag,
Uint8  alpha 
)