aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2023-07-21 06:55:57 +0000
committerDaniel Eklöf <daniel@ekloef.se>2023-07-21 06:55:57 +0000
commit62c6c9a78a4ae33c1dc2fe5bdd029cd5c3325f0e (patch)
treead1d707570654f125578087ded7bbd475d1e1ee8 /terminal.h
parentmeson: bump version to 1.15.0 (diff)
parentrender: change baseline calculation, to center it within the line (diff)
Merge branch 'master' into releases/1.15
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/terminal.h b/terminal.h
index 6dace7ac..4b1d1d0d 100644
--- a/terminal.h
+++ b/terminal.h
@@ -736,10 +736,11 @@ bool term_to_slave(struct terminal *term, const void *data, size_t len);
bool term_paste_data_to_slave(
struct terminal *term, const void *data, size_t len);
+bool term_update_scale(struct terminal *term);
bool term_font_size_increase(struct terminal *term);
bool term_font_size_decrease(struct terminal *term);
bool term_font_size_reset(struct terminal *term);
-bool term_font_dpi_changed(struct terminal *term, int old_scale);
+bool term_font_dpi_changed(struct terminal *term, float old_scale);
void term_font_subpixel_changed(struct terminal *term);
int term_pt_or_px_as_pixels(