diff options
Diffstat (limited to 'st.h')
-rw-r--r-- | st.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -35,6 +35,7 @@ enum glyph_attribute { ATTR_WIDE = 1 << 10, ATTR_WDUMMY = 1 << 11, ATTR_SELECTED = 1 << 12, + ATTR_BOXDRAW = 1 << 13, ATTR_BOLD_FAINT = ATTR_BOLD | ATTR_FAINT, }; @@ -117,6 +118,14 @@ void *xmalloc(size_t); void *xrealloc(void *, size_t); char *xstrdup(const char *); +int isboxdraw(Rune); +ushort boxdrawindex(const Glyph *); +#ifdef XFT_VERSION +/* only exposed to x.c, otherwise we'll need Xft.h for the types */ +void boxdraw_xinit(Display *, Colormap, XftDraw *, Visual *); +void drawboxes(int, int, int, int, XftColor *, XftColor *, const XftGlyphFontSpec *, int); +#endif + /* config.h globals */ extern char *utmp; extern char *scroll; @@ -130,3 +139,4 @@ extern unsigned int tabspaces; extern unsigned int defaultfg; extern unsigned int defaultbg; extern unsigned int defaultcs; +extern const int boxdraw, boxdraw_bold, boxdraw_braille; |