From 76cfdb956d80aa5a4ffb909486509abc5f7bc829 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Mon, 25 Apr 2022 11:57:21 -0700 Subject: modules/*: set TIL_MODULE_OVERLAYABLE where appropriate In the interests of facilitating randomized automagic layered compositing, tell the world when you're overlay-appropriate. --- src/modules/blinds/blinds.c | 1 + src/modules/checkers/checkers.c | 3 ++- src/modules/pixbounce/pixbounce.c | 1 + src/modules/plato/plato.c | 1 + src/modules/spiro/spiro.c | 1 + src/modules/stars/stars.c | 1 + src/modules/swarm/swarm.c | 3 ++- 7 files changed, 9 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/modules/blinds/blinds.c b/src/modules/blinds/blinds.c index 080b468..7ce0a92 100644 --- a/src/modules/blinds/blinds.c +++ b/src/modules/blinds/blinds.c @@ -42,4 +42,5 @@ til_module_t blinds_module = { .name = "blinds", .description = "Retro 80s-inspired window blinds", .author = "Vito Caputo ", + .flags = TIL_MODULE_OVERLAYABLE, }; diff --git a/src/modules/checkers/checkers.c b/src/modules/checkers/checkers.c index 2b626e7..b4bc56f 100644 --- a/src/modules/checkers/checkers.c +++ b/src/modules/checkers/checkers.c @@ -296,8 +296,9 @@ til_module_t checkers_module = { .destroy_context = checkers_destroy_context, .prepare_frame = checkers_prepare_frame, .render_fragment = checkers_render_fragment, + .setup = checkers_setup, .name = "checkers", .description = "Checker-patterned overlay (threaded)", .author = "Vito Caputo ", - .setup = checkers_setup, + .flags = TIL_MODULE_OVERLAYABLE, }; diff --git a/src/modules/pixbounce/pixbounce.c b/src/modules/pixbounce/pixbounce.c index 5f54644..c26eb88 100644 --- a/src/modules/pixbounce/pixbounce.c +++ b/src/modules/pixbounce/pixbounce.c @@ -197,4 +197,5 @@ til_module_t pixbounce_module = { .name = "pixbounce", .description = "Pixmap bounce", .author = "Philip J Freeman ", + .flags = TIL_MODULE_OVERLAYABLE, }; diff --git a/src/modules/plato/plato.c b/src/modules/plato/plato.c index bc38f2d..ec53dd1 100644 --- a/src/modules/plato/plato.c +++ b/src/modules/plato/plato.c @@ -674,4 +674,5 @@ til_module_t plato_module = { .name = "plato", .description = "Platonic solids rendered in 3D", .author = "Vito Caputo ", + .flags = TIL_MODULE_OVERLAYABLE, }; diff --git a/src/modules/spiro/spiro.c b/src/modules/spiro/spiro.c index bf93b27..50a44e8 100644 --- a/src/modules/spiro/spiro.c +++ b/src/modules/spiro/spiro.c @@ -150,4 +150,5 @@ til_module_t spiro_module = { .name = "spiro", .description = "Spirograph emulator", .author = "Philip J Freeman ", + .flags = TIL_MODULE_OVERLAYABLE, }; diff --git a/src/modules/stars/stars.c b/src/modules/stars/stars.c index 150602a..0629c36 100644 --- a/src/modules/stars/stars.c +++ b/src/modules/stars/stars.c @@ -264,4 +264,5 @@ til_module_t stars_module = { .name = "stars", .description = "Basic starfield", .author = "Philip J Freeman ", + .flags = TIL_MODULE_OVERLAYABLE, }; diff --git a/src/modules/swarm/swarm.c b/src/modules/swarm/swarm.c index 0d70568..cc27c36 100644 --- a/src/modules/swarm/swarm.c +++ b/src/modules/swarm/swarm.c @@ -469,8 +469,9 @@ til_module_t swarm_module = { .create_context = swarm_create_context, .destroy_context = swarm_destroy_context, .render_fragment = swarm_render_fragment, + .setup = swarm_setup, .name = "swarm", .description = "\"Boids\"-inspired particle swarm in 3D", .author = "Vito Caputo ", - .setup = swarm_setup, + .flags = TIL_MODULE_OVERLAYABLE, }; -- cgit v1.2.3