particle/progress-bar: expose info through the new struct particle_info struct

This commit is contained in:
Daniel Eklöf 2019-01-13 10:38:25 +01:00
parent 73b8bf1346
commit 21e28315e3
5 changed files with 56 additions and 55 deletions

View file

@ -1,8 +1,4 @@
#pragma once
#include "../particle.h"
struct particle * particle_progress_bar_new(
const char *tag, int width,
struct particle *start_marker, struct particle *end_marker,
struct particle *fill, struct particle *empty, struct particle *indicator,
int left_margin, int right_margin, const char *on_click_template);
extern const struct particle_info particle_progress_bar;