summaryrefslogtreecommitdiff
path: root/src/nanolight.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nanolight.h')
-rw-r--r--src/nanolight.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/nanolight.h b/src/nanolight.h
index 85f1d3a..648e291 100644
--- a/src/nanolight.h
+++ b/src/nanolight.h
@@ -79,11 +79,17 @@ struct fixture_class
int n_gobo_chans;
int *gobo_chans;
int *gobo_vals;
+ int *gobo_flags;
+ int gobo_rotate_offset;
+ int gobo_spin_offset;
int n_prisms;
int n_prism_chans;
int *prism_chans;
int *prism_vals;
+ int *prism_flags;
+ int prism_rotate_offset;
+ int prism_spin_offset;
};
@@ -104,10 +110,10 @@ struct fixture
float pan; /* -1 (fully stage left) to +1 (fully stage right) */
float tilt; /* -1 (fully downstage) to +1 (fully upstage) */
int gobo; /* Gobo number: 0 to cls->n_gobos-1 inclusive */
- float gobo_rotation; /* -1 (fully anticlockwise) to +1 (fully clockwise) */
+ float gobo_rotate; /* -1 (fully anticlockwise) to +1 (fully clockwise) */
float gobo_spin; /* -1 (fastest anticlockwise) to +1 (fastest clockwise) */
int prism; /* Exactly like gobo */
- float prism_rotation; /* Exactly like gobo_rotation */
+ float prism_rotate; /* Exactly like gobo_rotate */
float prism_spin; /* Exactly like gobo_spin */
float focus; /* 0 (nearest) to 1 (farthest) */
float zoom; /* 0 (narrowest) to 1 (widest) */
@@ -148,5 +154,8 @@ struct nanolight
double y_orig;
};
+extern void attr_movex(struct nanolight *nl, signed int d, int fine);
+extern void attr_movey(struct nanolight *nl, signed int d, int fine);
+
#endif /* NANOLIGHT_H */