diff options
author | Luke Smith <luke@lukesmith.xyz> | 2021-02-05 22:14:48 -0500 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2021-02-05 22:28:59 -0500 |
commit | fa3c401390e1477ff4aae6b91fcf18eded478814 (patch) | |
tree | 08a40bec3b5bb8f7887bd52c9aed866ad8a64393 /st.h | |
parent | 73c034ba05101e2fc337183af1cdec5bfe318b99 (diff) |
0.8.4 update, scroll added as separate prog
Diffstat (limited to 'st.h')
-rw-r--r-- | st.h | 27 |
1 files changed, 5 insertions, 22 deletions
@@ -34,17 +34,11 @@ enum glyph_attribute { ATTR_WRAP = 1 << 8, ATTR_WIDE = 1 << 9, ATTR_WDUMMY = 1 << 10, - ATTR_BOXDRAW = 1 << 11, + ATTR_BOXDRAW = 1 << 11, ATTR_LIGA = 1 << 12, ATTR_BOLD_FAINT = ATTR_BOLD | ATTR_FAINT, }; -enum drawing_mode { - DRAW_NONE = 0, - DRAW_BG = 1 << 0, - DRAW_FG = 1 << 1, -}; - enum selection_mode { SEL_IDLE = 0, SEL_EMPTY = 1, @@ -83,30 +77,20 @@ typedef union { uint ui; float f; const void *v; + const char *s; } Arg; -typedef struct { - uint b; - uint mask; - void (*func)(const Arg *); - const Arg arg; -} MouseKey; - void die(const char *, ...); void redraw(void); void draw(void); void externalpipe(const Arg *); -void iso14755(const Arg *); -void kscrolldown(const Arg *); -void kscrollup(const Arg *); void printscreen(const Arg *); void printsel(const Arg *); void sendbreak(const Arg *); void toggleprinter(const Arg *); int tattrset(int); -int tisaltscr(void); void tnew(int, int); void tresize(int, int); void tsetdirtattr(int); @@ -141,16 +125,15 @@ void drawboxes(int, int, int, int, XftColor *, XftColor *, const XftGlyphFontSpe /* config.h globals */ extern char *utmp; +extern char *scroll; extern char *stty_args; extern char *vtiden; extern wchar_t *worddelimiters; extern int allowaltscreen; +extern int allowwindowops; extern char *termname; extern unsigned int tabspaces; extern unsigned int defaultfg; extern unsigned int defaultbg; -extern unsigned int defaultcs; -extern const int boxdraw, boxdraw_bold, boxdraw_braille; extern float alpha; -extern MouseKey mkeys[]; -extern int ximspot_update_interval; +extern const int boxdraw, boxdraw_bold, boxdraw_braille; |