16 lines
162 B
C
16 lines
162 B
C
#ifndef IMG_H
|
|
#define IMG_H
|
|
|
|
#include <stdint.h>
|
|
|
|
typedef struct {
|
|
uint16_t r, g, b, a;
|
|
} pix_t;
|
|
|
|
typedef struct {
|
|
uint32_t w, h;
|
|
pix_t *pix;
|
|
} img_t;
|
|
|
|
#endif
|