include/SDL_blendmode.h
changeset 7191 75360622e65f
parent 6885 700f1b25f77f
child 7502 6ff02ff3cf06
equal deleted inserted replaced
7190:11612d544fcd 7191:75360622e65f
    19   3. This notice may not be removed or altered from any source distribution.
    19   3. This notice may not be removed or altered from any source distribution.
    20 */
    20 */
    21 
    21 
    22 /**
    22 /**
    23  *  \file SDL_blendmode.h
    23  *  \file SDL_blendmode.h
    24  *  
    24  *
    25  *  Header file declaring the SDL_BlendMode enumeration
    25  *  Header file declaring the SDL_BlendMode enumeration
    26  */
    26  */
    27 
    27 
    28 #ifndef _SDL_blendmode_h
    28 #ifndef _SDL_blendmode_h
    29 #define _SDL_blendmode_h
    29 #define _SDL_blendmode_h
    30 
    30 
    31 #include "begin_code.h"
    31 #include "begin_code.h"
    32 /* Set up for C function definitions, even when using C++ */
    32 /* Set up for C function definitions, even when using C++ */
    33 #ifdef __cplusplus
    33 #ifdef __cplusplus
    34 /* *INDENT-OFF* */
       
    35 extern "C" {
    34 extern "C" {
    36 /* *INDENT-ON* */
       
    37 #endif
    35 #endif
    38 
    36 
    39 /**
    37 /**
    40  *  \brief The blend mode used in SDL_RenderCopy() and drawing operations.
    38  *  \brief The blend mode used in SDL_RenderCopy() and drawing operations.
    41  */
    39  */
    47     SDL_BLENDMODE_MOD = 0x00000004       /**< dst = src * dst */
    45     SDL_BLENDMODE_MOD = 0x00000004       /**< dst = src * dst */
    48 } SDL_BlendMode;
    46 } SDL_BlendMode;
    49 
    47 
    50 /* Ends C function definitions when using C++ */
    48 /* Ends C function definitions when using C++ */
    51 #ifdef __cplusplus
    49 #ifdef __cplusplus
    52 /* *INDENT-OFF* */
       
    53 }
    50 }
    54 /* *INDENT-ON* */
       
    55 #endif
    51 #endif
    56 #include "close_code.h"
    52 #include "close_code.h"
    57 
    53 
    58 #endif /* _SDL_video_h */
    54 #endif /* _SDL_video_h */
    59 
    55