aboutsummaryrefslogtreecommitdiff
path: root/src/draw.h
diff options
context:
space:
mode:
authorFederico Angelilli <code@fedang.net>2024-03-15 01:14:03 +0100
committerFederico Angelilli <code@fedang.net>2024-03-15 01:14:03 +0100
commit7f154168bcbb6e174800b1dbe81352a31b2cd23b (patch)
tree5cecbd0e456d2330c0b65e8c170fc568aa567542 /src/draw.h
parent74a29b60cdcff2906db89707c1059ee1cc840e49 (diff)
Add x and y padding to layout
Diffstat (limited to 'src/draw.h')
-rw-r--r--src/draw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/draw.h b/src/draw.h
index 8d8a806..db56946 100644
--- a/src/draw.h
+++ b/src/draw.h
@@ -29,6 +29,7 @@ typedef struct {
int x, y;
int width, height;
int text_w, text_h;
+ int x_pad, y_pad;
PangoLayout *pl;
} Layout;