diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-03-21 15:29:51 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-03-21 15:29:51 +0000 |
| commit | deaf17e01ded858a426c2add69b9574f9241a1aa (patch) | |
| tree | de1e007f0f666d62aeba711b493f574bac4c0b51 /terminal.h | |
| parent | Merge branch 'match-all-required-modifiers-before-unshifting-symbol' (diff) | |
| parent | term: increase/decrease custom line-height with font size changes (diff) | |
Merge branch 'zoom-line-height'
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -261,6 +261,12 @@ struct url { }; typedef tll(struct url) url_list_t; +/* If px != 0 then px is valid, otherwise pt is valid */ +struct pt_or_px { + int16_t px; + float pt; +}; + struct terminal { struct fdm *fdm; struct reaper *reaper; @@ -312,6 +318,7 @@ struct terminal { struct fcft_font *fonts[4]; struct config_font *font_sizes[4]; + struct pt_or_px font_line_height; float font_dpi; int font_scale; int16_t font_x_ofs; |
