aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-04-20 16:37:59 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-04-20 16:38:55 +0000
commit6f83ef81e54b2695692c76a0a06c94c53cb7e315 (patch)
tree92018fb060b312327486d2046b20e29c84e98375 /terminal.h
parentcompletions: zsh: -f,--font accepts multiple, comma separated values (diff)
render: use output's subpixel mode when rasterizing glyphs
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/terminal.h b/terminal.h
index 7b7b0182..0ef3db75 100644
--- a/terminal.h
+++ b/terminal.h
@@ -217,6 +217,7 @@ struct terminal {
struct font *fonts[4];
int font_dpi;
int font_adjustments;
+ enum subpixel_order font_subpixel;
tll(struct ptmx_buffer) ptmx_buffer;
@@ -445,6 +446,8 @@ 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);
+void term_font_subpixel_changed(struct terminal *term);
+
void term_damage_rows(struct terminal *term, int start, int end);
void term_damage_rows_in_view(struct terminal *term, int start, int end);