summaryrefslogtreecommitdiff
path: root/src/nanolight.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nanolight.h')
-rw-r--r--src/nanolight.h32
1 files changed, 19 insertions, 13 deletions
diff --git a/src/nanolight.h b/src/nanolight.h
index b896a57..85f1d3a 100644
--- a/src/nanolight.h
+++ b/src/nanolight.h
@@ -26,23 +26,29 @@
#include <gtk/gtk.h>
/* Fixture attributes */
-#define INTENSITY (1)
-#define COL_RGB (2)
-#define COL_CMY (4)
-#define PANTILT (8)
-#define FOCUS (16)
-#define ZOOM (32)
-#define FROST (64)
-#define IRIS (128)
-#define SHUTTERS (256)
-#define GOBO (512)
-#define GOBO_ROTATE (1024)
-#define PRISM (2048)
-#define PRISM_ROTATE (4096)
+#define INTENSITY (1<<0)
+#define COLOUR (1<<1)
+#define PANTILT (1<<2)
+#define FOCUS (1<<3)
+#define ZOOM (1<<4)
+#define FROST (1<<5)
+#define IRIS (1<<6)
+#define SHUTTERS (1<<7)
+#define GOBO (1<<8)
+#define GOBO_ROTATE (1<<9)
+#define GOBO_SPIN (1<<10)
+#define PRISM (1<<11)
+#define PRISM_ROTATE (1<<12)
+#define PRISM_SPIN (1<<13)
+
+/* Fixture properties */
+#define COL_RGB (1<<0)
+#define COL_CMY (1<<1)
struct fixture_class
{
char *name;
+ int properties;
int attributes;
int attributes16;