particle/progress-bar: renders a progrss-bar-like thingy

This commit is contained in:
Daniel Eklöf 2018-12-27 14:22:05 +01:00
parent ce895ac44f
commit 8d94202057
4 changed files with 198 additions and 0 deletions

8
particles/progress_bar.h Normal file
View file

@ -0,0 +1,8 @@
#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);