summaryrefslogtreecommitdiff
path: root/flam3.h
diff options
context:
space:
mode:
Diffstat (limited to 'flam3.h')
-rw-r--r--flam3.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/flam3.h b/flam3.h
index 2434a78..de2ad07 100644
--- a/flam3.h
+++ b/flam3.h
@@ -73,8 +73,10 @@ extern char *flam3_variation_names[];
#define flam3_max_action_length 10000
-#define flam3_palette_mode_step 0
-#define flam3_palette_mode_linear 1
+typedef enum {
+ PALETTE_MODE_STEP = 0,
+ PALETTE_MODE_LINEAR = 1,
+} color_palette_mode;
#define VAR_LINEAR 0
#define VAR_SINUSOIDAL 1