aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/terminal.h b/terminal.h
index 7b7b0182..dbca5290 100644
--- a/terminal.h
+++ b/terminal.h
@@ -214,9 +214,10 @@ struct terminal {
struct grid alt;
struct grid *grid;
- struct font *fonts[4];
+ struct fcft_font *fonts[4];
int font_dpi;
int font_adjustments;
+ enum fcft_subpixel 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);