summaryrefslogtreecommitdiff
path: root/fixtures/generic
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-02-23 15:09:11 +0100
committerThomas White <taw@physics.org>2020-02-23 15:09:11 +0100
commitdeb42462483b16799b40d8a49ad2d8327e1a0e28 (patch)
treeeef3756933a06e4d670ab85bd694dce160846d23 /fixtures/generic
parent9b62a3e1b54765699a5d865455147ee8166bba12 (diff)
Put fixture library into headers and static structures
Diffstat (limited to 'fixtures/generic')
-rw-r--r--fixtures/generic/dimmer.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/fixtures/generic/dimmer.h b/fixtures/generic/dimmer.h
new file mode 100644
index 0000000..a08d293
--- /dev/null
+++ b/fixtures/generic/dimmer.h
@@ -0,0 +1,48 @@
+/*
+ * dimmer.h
+ *
+ * Copyright © 2019-2020 Thomas White <taw@bitwiz.me.uk>
+ *
+ * This file is part of NanoLight.
+ *
+ * NanoLight is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+
+struct fixture_class generic_dimmer_class = {
+
+ .name = "Generic dimmer",
+
+ .properties = 0,
+ .attributes = INTENSITY,
+ .attributes16 = 0,
+
+ .intensity_offset = 0,
+
+ .n_magic = 0,
+ .magic_chans = NULL,
+ .magic_vals = NULL,
+
+ .n_gobos = 0,
+ .n_gobo_chans = 0,
+ .gobo_chans = NULL,
+ .gobo_vals = NULL,
+ .gobo_flags = NULL,
+
+ .n_prisms = 0,
+ .n_prism_chans = 0,
+ .prism_chans = NULL,
+ .prism_vals = NULL,
+ .prism_flags = NULL,
+};