From 93cde4831bca7055c38a1d6246fdcb84df07f7ec Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Fri, 31 May 2019 20:32:02 +0000 Subject: bemenu: add --line-height / -H option Text is displayed vertically centered in a line. If unspecified, or 0, the previous behaviour of making the height the size of the text, plus two pixels on either side, is used, so there will be no change in behaviour if this option is not used. Fixes https://github.com/Cloudef/bemenu/issues/44. --- lib/internal.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/internal.h') diff --git a/lib/internal.h b/lib/internal.h index adb06f6..2920d1a 100644 --- a/lib/internal.h +++ b/lib/internal.h @@ -224,6 +224,11 @@ struct bm_menu { */ struct bm_font font; + /** + * Line height. + */ + uint32_t line_height; + /** * Colors. */ -- cgit v1.2.3-70-g09d2