diff options
author | xAlpharax <42233094+xAlpharax@users.noreply.github.com> | 2023-08-14 01:37:39 +0300 |
---|---|---|
committer | xAlpharax <42233094+xAlpharax@users.noreply.github.com> | 2023-08-14 01:37:39 +0300 |
commit | b40ce8559698d1442ced6e537fb18091f1343fb8 (patch) | |
tree | 6f9a6bbf23982030b078a619709e9d805458dad7 /st.h | |
parent | 7028eccc1955a6e0b0a46c0d3adc80b644a51b31 (diff) |
Complete migration and clean installation.
Up to date with the upstream and the latest patches.
Personal configuration merged.
Changes to be committed:
modified: Makefile
new file: boxdraw.c
new file: boxdraw.o
new file: boxdraw_data.h
modified: config.def.h
new file: config.def.h.orig
new file: config.def.h.rej
new file: config.h
modified: config.mk
new file: patches/st-alpha-20220206-0.8.5.diff
new file: patches/st-anysize-20220718-baa9357.diff
new file: patches/st-boxdraw_v2-0.8.5.diff
new file: patches/st-clipboard-0.8.3.diff
new file: patches/st-copyurl-multiline-20230406-211964d.diff
new file: patches/st-font2-0.8.5.diff
new file: patches/st-scrollback-20210507-4536f46.diff
new file: patches/st-scrollback-mouse-20220127-2c5edf2-after-scrollback.diff
modified: st.c
new file: st.c.orig
new file: st.c.rej
modified: st.h
new file: st.h.orig
new file: st.h.rej
new file: st.o
modified: x.c
new file: x.c.orig
new file: x.o
Diffstat (limited to 'st.h')
-rw-r--r-- | st.h | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -33,6 +33,7 @@ enum glyph_attribute { ATTR_WRAP = 1 << 8, ATTR_WIDE = 1 << 9, ATTR_WDUMMY = 1 << 10, + ATTR_BOXDRAW = 1 << 11, ATTR_BOLD_FAINT = ATTR_BOLD | ATTR_FAINT, }; @@ -81,10 +82,13 @@ void die(const char *, ...); void redraw(void); void draw(void); +void kscrolldown(const Arg *); +void kscrollup(const Arg *); void printscreen(const Arg *); void printsel(const Arg *); void sendbreak(const Arg *); void toggleprinter(const Arg *); +void copyurl(const Arg *); int tattrset(int); void tnew(int, int); @@ -111,6 +115,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; @@ -124,3 +136,5 @@ extern unsigned int tabspaces; extern unsigned int defaultfg; extern unsigned int defaultbg; extern unsigned int defaultcs; +extern float alpha; +extern const int boxdraw, boxdraw_bold, boxdraw_braille; |