summaryrefslogtreecommitdiff
path: root/gradient.h
diff options
context:
space:
mode:
authorBrett Weiland <techcrazybsw@gmail.com>2021-01-01 13:12:17 -0600
committerBrett Weiland <techcrazybsw@gmail.com>2021-01-01 13:12:17 -0600
commitc8b3250f15ac75d60991b3ad2562209e853cc6f4 (patch)
tree3064f3d49cfc0874df29d20c9ac4c4298447755d /gradient.h
new file: gradient.h
new file: led_clear.c new file: led_gradient.c new file: led_info.h new file: led_test.c new file: makefile new file: push.sh new file: shit.c
Diffstat (limited to 'gradient.h')
-rw-r--r--gradient.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/gradient.h b/gradient.h
new file mode 100644
index 0000000..ea8635e
--- /dev/null
+++ b/gradient.h
@@ -0,0 +1,14 @@
+//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
+
+typedef struct splits {
+ unsigned int color;
+ unsigned int size;
+} segment_t;