yambar/particles/list.h
Daniel Eklöf c5d3e934b4 particle/list: optionally destroy sub particles
This was always done before. Now that it is optional, one can for
example generate lists dynamically, using the same set of base
particles over and over again.
2018-11-17 17:13:45 +01:00

9 lines
247 B
C

#pragma once
#include <stdbool.h>
#include "../particle.h"
struct particle *particle_list_new(
struct particle *particles[], size_t count,
int left_spacing, int right_spacing, int left_margin, int right_margin,
bool take_ownership);