summaryrefslogtreecommitdiff
path: root/gradient.h
blob: a0b9dfe5eafb059820da8f3ecaaf925a6c367ba1 (plain)
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
//program modes (I'll switch to an emum once I'm done)
#define VIEW_MODE     0
#define SELECT_MODE   1
#define MODIFY_MODE   2
#define MODIFY_R      3
#define MODIFY_G      4
#define MODIFY_B      5
#define MODIFY_SIZE   6
#define EXITED        7

#define M_RED         0
#define M_GREEN       1
#define M_BLUE        2
#define M_SIZE        3
#define M_SIZE_EQ     4
#define M_CREATE_EQ   5
#define M_CREATE_SUB  6
#define M_DEL         7
#define M_BACK        8



typedef struct splits {
  unsigned int color;
  unsigned int size;
} segment_t;