summaryrefslogtreecommitdiff
path: root/src/lightctx.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lightctx.h')
-rw-r--r--src/lightctx.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/lightctx.h b/src/lightctx.h
index ec9170a..3017a5e 100644
--- a/src/lightctx.h
+++ b/src/lightctx.h
@@ -138,12 +138,37 @@ struct fixture
};
+struct fade_fix
+{
+ struct fixture *fix;
+ int attrs; /* Bit mask of attributes to change */
+ struct attr_vals start;
+ struct attr_vals target;
+};
+
+
+struct fade
+{
+ struct fade_fix *fixtures;
+ int n_fixtures;
+
+ gint64 start_time;
+ int active;
+
+ float fade;
+ float delay;
+};
+
+
struct lightctx
{
int n_fixtures;
int max_fixtures;
struct fixture *fixtures;
+ struct fade *fades;
+ int n_fades;
+
GtkIMContext *im_context;
GtkWidget *da;