From ec0a7bac9d80b4ac094e361535f1ce4a5f5c6487 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sun, 26 May 2019 22:28:23 +0200 Subject: Dummy fixture and initial rendering --- src/nanolight.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/nanolight.h') diff --git a/src/nanolight.h b/src/nanolight.h index 4ab4d5a..5235666 100644 --- a/src/nanolight.h +++ b/src/nanolight.h @@ -40,8 +40,7 @@ struct attribute char *name; enum attr_class cls; int props; - int n_addrs; - int *addrs; + int addr_offset; }; @@ -56,6 +55,7 @@ struct fixture_class struct fixture { char *label; + int base_addr; struct fixture_class *cls; }; @@ -64,6 +64,8 @@ struct nanolight { int n_fixtures; struct fixture *fixtures; + + double fixture_width; }; -- cgit v1.2.3