aboutsummaryrefslogtreecommitdiff
path: root/st.h
diff options
context:
space:
mode:
Diffstat (limited to 'st.h')
-rw-r--r--st.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/st.h b/st.h
index d978458..a6c382a 100644
--- a/st.h
+++ b/st.h
@@ -33,6 +33,7 @@ enum glyph_attribute {
33 ATTR_WRAP = 1 << 8, 33 ATTR_WRAP = 1 << 8,
34 ATTR_WIDE = 1 << 9, 34 ATTR_WIDE = 1 << 9,
35 ATTR_WDUMMY = 1 << 10, 35 ATTR_WDUMMY = 1 << 10,
36 ATTR_BOXDRAW = 1 << 11,
36 ATTR_BOLD_FAINT = ATTR_BOLD | ATTR_FAINT, 37 ATTR_BOLD_FAINT = ATTR_BOLD | ATTR_FAINT,
37}; 38};
38 39
@@ -111,6 +112,14 @@ void *xmalloc(size_t);
111void *xrealloc(void *, size_t); 112void *xrealloc(void *, size_t);
112char *xstrdup(char *); 113char *xstrdup(char *);
113 114
115int isboxdraw(Rune);
116ushort boxdrawindex(const Glyph *);
117#ifdef XFT_VERSION
118/* only exposed to x.c, otherwise we'll need Xft.h for the types */
119void boxdraw_xinit(Display *, Colormap, XftDraw *, Visual *);
120void drawboxes(int, int, int, int, XftColor *, XftColor *, const XftGlyphFontSpec *, int);
121#endif
122
114/* config.h globals */ 123/* config.h globals */
115extern char *utmp; 124extern char *utmp;
116extern char *scroll; 125extern char *scroll;
@@ -122,3 +131,4 @@ extern char *termname;
122extern unsigned int tabspaces; 131extern unsigned int tabspaces;
123extern unsigned int defaultfg; 132extern unsigned int defaultfg;
124extern unsigned int defaultbg; 133extern unsigned int defaultbg;
134extern const int boxdraw, boxdraw_bold, boxdraw_braille;