Mercurial > hg > dmlib
comparison src/libgfx.h @ 971:f654435df15e
Rename DMRGBA32 struct to DMColor and remove the original redundant DMColor
struct definition.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 27 Feb 2015 06:10:16 +0200 |
parents | 5ac8f5513978 |
children | e4bda4909d72 |
comparison
equal
deleted
inserted
replaced
970:6c33c92de066 | 971:f654435df15e |
---|---|
34 DM_IFMT_PALETTE, | 34 DM_IFMT_PALETTE, |
35 DM_IFMT_RGB, | 35 DM_IFMT_RGB, |
36 DM_IFMT_RGBA, | 36 DM_IFMT_RGBA, |
37 DM_IFMT_RGB_PLANE, | 37 DM_IFMT_RGB_PLANE, |
38 }; | 38 }; |
39 | |
40 | |
41 // RGBx color struct | |
42 typedef struct | |
43 { | |
44 Uint8 r, g, b, a; | |
45 } DMColor; | |
46 | 39 |
47 | 40 |
48 // Bitmapped image struct (can be one of types specified by DM_IFMT_*) | 41 // Bitmapped image struct (can be one of types specified by DM_IFMT_*) |
49 typedef struct | 42 typedef struct |
50 { | 43 { |