summaryrefslogtreecommitdiff
path: root/src/nanolight.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nanolight.h')
-rw-r--r--src/nanolight.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nanolight.h b/src/nanolight.h
index 5235666..29cdbfc 100644
--- a/src/nanolight.h
+++ b/src/nanolight.h
@@ -23,6 +23,8 @@
#ifndef NANOLIGHT_H
#define NANOLIGHT_H
+#include <gtk/gtk.h>
+
/* Attribute flags */
#define ATTR_NONE (0)
#define ATTR_16BIT (1)
@@ -57,15 +59,21 @@ struct fixture
char *label;
int base_addr;
struct fixture_class *cls;
+ int *attr_vals;
};
struct nanolight
{
int n_fixtures;
+ int max_fixtures;
struct fixture *fixtures;
+ GtkIMContext *im_context;
+ GtkWidget *da;
+
double fixture_width;
+ char cmdline[1024];
};