summaryrefslogtreecommitdiff
path: root/st.h
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2021-02-05 22:14:48 -0500
committerLuke Smith <luke@lukesmith.xyz>2021-02-05 22:28:59 -0500
commitfa3c401390e1477ff4aae6b91fcf18eded478814 (patch)
tree08a40bec3b5bb8f7887bd52c9aed866ad8a64393 /st.h
parent73c034ba05101e2fc337183af1cdec5bfe318b99 (diff)
0.8.4 update, scroll added as separate prog
Diffstat (limited to 'st.h')
-rw-r--r--st.h27
1 files changed, 5 insertions, 22 deletions
diff --git a/st.h b/st.h
index 7b5991a..fcfd176 100644
--- a/st.h
+++ b/st.h
@@ -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;