fcft: adjust to fcft-2.0 API changes

* font_*() -> fcft_*()
* struct font -> struct fcft_font
* struct glyph -> struct fcft_glyph
* enum subpixel_order -> enum fcft_subpixel
This commit is contained in:
Daniel Eklöf 2020-04-22 11:49:22 +02:00
parent b9e7417137
commit 03a5c8746f
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
5 changed files with 23 additions and 20 deletions

View file

@ -16,7 +16,7 @@ struct particle {
char *on_click_template;
pixman_color_t foreground;
struct font *font;
struct fcft_font *font;
struct deco *deco;
void (*destroy)(struct particle *particle);
@ -47,7 +47,7 @@ struct exposable {
struct particle *particle_common_new(
int left_margin, int right_margin, const char *on_click_template,
struct font *font, pixman_color_t foreground, struct deco *deco);
struct fcft_font *font, pixman_color_t foreground, struct deco *deco);
void particle_default_destroy(struct particle *particle);