diff options
| author | Thomas Ulmer <thomasmulmer02@gmail.com> | 2025-12-08 11:11:45 -0800 |
|---|---|---|
| committer | Thomas Ulmer <thomasmulmer02@gmail.com> | 2025-12-08 11:11:45 -0800 |
| commit | 19b68c9656ec21c604ef3bf56d841304e4335573 (patch) | |
| tree | 0608b661bb741981a431c07b8d34035b7785e0fd /st/st-0.9.3/win.h | |
| parent | a82a073043c1475b46e1e6963c7078df24399745 (diff) | |
st patches to git
Diffstat (limited to 'st/st-0.9.3/win.h')
| -rw-r--r-- | st/st-0.9.3/win.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/st/st-0.9.3/win.h b/st/st-0.9.3/win.h new file mode 100644 index 0000000..6de960d --- /dev/null +++ b/st/st-0.9.3/win.h @@ -0,0 +1,41 @@ +/* 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 *); +int xgetcolor(int, unsigned char *, unsigned char *, unsigned char *); +void xseticontitle(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); |
