aboutsummaryrefslogtreecommitdiff
path: root/src/blocks/group.c
diff options
context:
space:
mode:
authorFederico Angelilli <code@fedang.net>2024-07-13 00:12:09 +0200
committerFederico Angelilli <code@fedang.net>2024-07-13 00:12:09 +0200
commitf10d68879e358a2642573d408bbc47f1c759d387 (patch)
tree629d317ccabb9f92adc0cab2d9f2e856fdc53826 /src/blocks/group.c
parenta60a1a755598240f5a7705070179bfa707ad4c56 (diff)
Separate block infos
Diffstat (limited to 'src/blocks/group.c')
-rw-r--r--src/blocks/group.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/blocks/group.c b/src/blocks/group.c
new file mode 100644
index 0000000..00afb00
--- /dev/null
+++ b/src/blocks/group.c
@@ -0,0 +1,15 @@
+#include "info.h"
+
+static const config_entry_t block_group_entries[] = {
+ { "spacing", CONFIG_INT, offsetof(block_t, group.spacing) },
+ { 0 },
+};
+
+// TODO
+const config_block_t block_group_info = {
+ .type_name = "group",
+ .type_size = 0,
+ .base = { 0 },
+ .entries = block_group_entries,
+ .apply = NULL,
+};