From 128fa39bb62d1a1c627812f15030bf3ffb82100d Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Thu, 23 Jun 2022 14:48:35 +0100 Subject: Remove Cairo scale factor. The scale factor is now only used to scale font sizes, not all Cairo drawing operations. This makes pixel-sized options correct. --- src/entry.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/entry.h') diff --git a/src/entry.h b/src/entry.h index 7ceb215..f1187d3 100644 --- a/src/entry.h +++ b/src/entry.h @@ -59,9 +59,8 @@ struct entry { } border; }; -void entry_init(struct entry *entry, uint8_t *restrict buffer, uint32_t width, uint32_t height, uint32_t scale); +void entry_init(struct entry *entry, uint8_t *restrict buffer, uint32_t width, uint32_t height); void entry_destroy(struct entry *entry); void entry_update(struct entry *entry); -void entry_set_scale(struct entry *entry, uint32_t scale); #endif /* ENTRY_H */ -- cgit v1.2.3