particle/string: expose info through the new struct particle_info struct

This commit is contained in:
Daniel Eklöf 2019-01-13 10:49:10 +01:00
parent 9f8000b047
commit 7b98ea2b7c
6 changed files with 62 additions and 60 deletions

View file

@ -1,6 +1,4 @@
#pragma once
#include "../particle.h"
struct particle *particle_string_new(
const char *text, size_t max_len, struct font *font, struct rgba foreground,
int left_margin, int right_margin, const char *on_click_template);
extern const struct particle_info particle_string;