/usr/include/allegro5/blender.h is in liballegro5-dev 2:5.0.10-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | #ifndef __al_included_allegro5_blender_h
#define __al_included_allegro5_blender_h
#ifdef __cplusplus
extern "C" {
#endif
/*
* Blending modes
*/
enum ALLEGRO_BLEND_MODE {
ALLEGRO_ZERO = 0,
ALLEGRO_ONE = 1,
ALLEGRO_ALPHA = 2,
ALLEGRO_INVERSE_ALPHA = 3,
ALLEGRO_SRC_COLOR = 4,
ALLEGRO_DEST_COLOR = 5,
ALLEGRO_INVERSE_SRC_COLOR = 6,
ALLEGRO_INVERSE_DEST_COLOR = 7,
ALLEGRO_NUM_BLEND_MODES
};
enum ALLEGRO_BLEND_OPERATIONS {
ALLEGRO_ADD = 0,
ALLEGRO_SRC_MINUS_DEST = 1,
ALLEGRO_DEST_MINUS_SRC = 2,
ALLEGRO_NUM_BLEND_OPERATIONS
};
AL_FUNC(void, al_set_blender, (int op, int source, int dest));
AL_FUNC(void, al_get_blender, (int *op, int *source, int *dest));
AL_FUNC(void, al_set_separate_blender, (int op, int source, int dest,
int alpha_op, int alpha_source, int alpha_dest));
AL_FUNC(void, al_get_separate_blender, (int *op, int *source, int *dest,
int *alpha_op, int *alpha_src, int *alpha_dest));
#ifdef __cplusplus
}
#endif
#endif
|