diff options
author | Thomas White <taw@physics.org> | 2019-05-26 22:28:23 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-05-26 22:28:23 +0200 |
commit | ec0a7bac9d80b4ac094e361535f1ce4a5f5c6487 (patch) | |
tree | 29f73f271538968f5d5048af1924c3b7f952afa4 /src/nanolight.h | |
parent | f8a9c7b6c9a9ea05c157baac95765df1c3977af0 (diff) |
Dummy fixture and initial rendering
Diffstat (limited to 'src/nanolight.h')
-rw-r--r-- | src/nanolight.h | 6 |
1 files changed, 4 insertions, 2 deletions
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; }; |