summaryrefslogtreecommitdiff
path: root/src/nanolight.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2019-05-28 22:53:11 +0200
committerThomas White <taw@bitwiz.me.uk>2019-05-28 22:53:11 +0200
commit1e32c49b4d08b1d517ccda7380c3909986d9d7cd (patch)
treeffde0e1e71926d8dfd3a147c5b9ef9d75cdb2678 /src/nanolight.h
parentec0a7bac9d80b4ac094e361535f1ce4a5f5c6487 (diff)
Command line and rendering stuff
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];
};