diff options
author | Bradley Taunt <bt@btxx.org> | 2024-11-06 08:40:23 -0500 |
---|---|---|
committer | Bradley Taunt <bt@btxx.org> | 2024-11-06 08:40:23 -0500 |
commit | 08e3aadd9b6d64dfabbd37581ef0d4d6d649444f (patch) | |
tree | 3449586cfe8226e8441b1e00ece92b30daf2e609 /laptop/sto/win.h | |
parent | 2696eff953132fc335d2d5f19e82009ac0870419 (diff) |
Initial overall to match latest updates
Diffstat (limited to 'laptop/sto/win.h')
-rwxr-xr-x | laptop/sto/win.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/laptop/sto/win.h b/laptop/sto/win.h new file mode 100755 index 0000000..6de960d --- /dev/null +++ b/laptop/sto/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); |