mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-26 07:57:59 -04:00
render: implement 'underline'
This commit is contained in:
parent
441337645a
commit
d93ca2f654
4 changed files with 86 additions and 34 deletions
10
terminal.h
10
terminal.h
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue