mirror of
https://github.com/Raymo111/i3lock-color.git
synced 2024-11-11 13:50:52 -05:00
31 lines
429 B
C
31 lines
429 B
C
|
#ifndef RGBA_H
|
||
|
#define RGBA_H
|
||
|
|
||
|
typedef struct rgb {
|
||
|
double red;
|
||
|
double green;
|
||
|
double blue;
|
||
|
} rgb_t;
|
||
|
|
||
|
typedef struct rgb_str {
|
||
|
char red[3];
|
||
|
char green[3];
|
||
|
char blue[3];
|
||
|
} rgb_str_t;
|
||
|
|
||
|
typedef struct rgba {
|
||
|
double red;
|
||
|
double green;
|
||
|
double blue;
|
||
|
double alpha;
|
||
|
} rgba_t;
|
||
|
|
||
|
typedef struct rgba_str {
|
||
|
char red[3];
|
||
|
char green[3];
|
||
|
char blue[3];
|
||
|
char alpha[3];
|
||
|
} rgba_str_t;
|
||
|
|
||
|
#endif
|