diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-07-16 12:20:39 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-07-16 12:20:39 +0000 |
| commit | d93ca2f654e686c5b11e90a9e8198382443d65e9 (patch) | |
| tree | 0c5e8eea5f027263d5a9fb0c327aa4a22df991b7 /terminal.h | |
| parent | render: implement 'dim' (diff) | |
render: implement 'underline'
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -202,6 +202,14 @@ struct primary { uint32_t serial; }; +struct font { + cairo_scaled_font_t *font; + struct { + double position; + double thickness; + } underline; +}; + struct terminal { pid_t slave; int ptmx; @@ -258,7 +266,7 @@ struct terminal { struct grid alt; struct grid *grid; - cairo_scaled_font_t *fonts[4]; + struct font fonts[4]; cairo_font_extents_t fextents; struct wayland wl; |
