diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-08-14 11:00:45 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-08-14 11:00:45 +0000 |
| commit | 807a3043068ced666cc577409954df08f077df40 (patch) | |
| tree | bd28c0a5bec99cb81e142957646b96923cfb9d44 /terminal.h | |
| parent | readme: change "32bpp" to "24bpp" in features list (diff) | |
| parent | pt-or-px: heed the dpi-aware setting (diff) | |
Merge branch 'pt-or-px-scaling'
Closes #680
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -643,6 +643,9 @@ 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); void term_font_subpixel_changed(struct terminal *term); + +bool term_font_sized_by_dpi(const struct terminal *term, int scale); +bool term_font_sized_by_scale(const struct terminal *term, int scale); int term_pt_or_px_as_pixels( const struct terminal *term, const struct pt_or_px *pt_or_px); |
