summaryrefslogtreecommitdiff
path: root/src/entry.h
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2022-06-23 14:48:35 +0100
committerPhil Jones <philj56@gmail.com>2022-06-23 14:48:35 +0100
commit128fa39bb62d1a1c627812f15030bf3ffb82100d (patch)
treee16020dd31faf4a2033ac45a3038981b8c54276c /src/entry.h
parentc57d9a2a65725dce8632bea6e539517f6b5e8f7d (diff)
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.
Diffstat (limited to 'src/entry.h')
-rw-r--r--src/entry.h3
1 files changed, 1 insertions, 2 deletions
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 */