diff options
| author | stkhan <personal@slickd.xyz> | 2021-06-23 21:21:08 -0500 |
|---|---|---|
| committer | stkhan <personal@slickd.xyz> | 2021-06-23 21:21:08 -0500 |
| commit | d23e1969acfdb5d6212e3e796b33963d47e01c08 (patch) | |
| tree | f0fa005a5c118ad00f23c4c68fe64d0712a2a285 /st-0.8.4/win.h | |
| parent | 7ee7c74831b87a60291db335a272ed4ba3c27496 (diff) | |
sarc 1.0.0
Former-commit-id: 0154c723c80f3fec789ad09e43749cdffd0f6503
Diffstat (limited to 'st-0.8.4/win.h')
| -rw-r--r-- | st-0.8.4/win.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/st-0.8.4/win.h b/st-0.8.4/win.h new file mode 100644 index 0000000..a6ef1b9 --- /dev/null +++ b/st-0.8.4/win.h @@ -0,0 +1,39 @@ +/* See LICENSE for license details. */ + +enum win_mode { + MODE_VISIBLE = 1 << 0, + MODE_FOCUSED = 1 << 1, + MODE_APPKEYPAD = 1 << 2, + MODE_MOUSEBTN = 1 << 3, + MODE_MOUSEMOTION = 1 << 4, + MODE_REVERSE = 1 << 5, + MODE_KBDLOCK = 1 << 6, + MODE_HIDE = 1 << 7, + MODE_APPCURSOR = 1 << 8, + MODE_MOUSESGR = 1 << 9, + MODE_8BIT = 1 << 10, + MODE_BLINK = 1 << 11, + MODE_FBLINK = 1 << 12, + MODE_FOCUS = 1 << 13, + MODE_MOUSEX10 = 1 << 14, + MODE_MOUSEMANY = 1 << 15, + MODE_BRCKTPASTE = 1 << 16, + MODE_NUMLOCK = 1 << 17, + MODE_MOUSE = MODE_MOUSEBTN|MODE_MOUSEMOTION|MODE_MOUSEX10\ + |MODE_MOUSEMANY, +}; + +void xbell(void); +void xclipcopy(void); +void xdrawcursor(int, int, Glyph, int, int, Glyph); +void xdrawline(Line, int, int, int); +void xfinishdraw(void); +void xloadcols(void); +int xsetcolorname(int, const char *); +void xsettitle(char *); +int xsetcursor(int); +void xsetmode(int, unsigned int); +void xsetpointermotion(int); +void xsetsel(char *); +int xstartdraw(void); +void xximspot(int, int); |