💾 Archived View for gemini.rmf-dev.com › repo › Vaati › Menkar › files › e6e43695fa17e2465756af66f6f… captured on 2023-04-19 at 23:39:18. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-03-20)
-=-=-=-=-=-=-
0 /* See LICENSE for license details. */
1
2 enum win_mode {
3 MODE_VISIBLE = 1 << 0,
4 MODE_FOCUSED = 1 << 1,
5 MODE_APPKEYPAD = 1 << 2,
6 MODE_MOUSEBTN = 1 << 3,
7 MODE_MOUSEMOTION = 1 << 4,
8 MODE_REVERSE = 1 << 5,
9 MODE_KBDLOCK = 1 << 6,
10 MODE_HIDE = 1 << 7,
11 MODE_APPCURSOR = 1 << 8,
12 MODE_MOUSESGR = 1 << 9,
13 MODE_8BIT = 1 << 10,
14 MODE_BLINK = 1 << 11,
15 MODE_FBLINK = 1 << 12,
16 MODE_FOCUS = 1 << 13,
17 MODE_MOUSEX10 = 1 << 14,
18 MODE_MOUSEMANY = 1 << 15,
19 MODE_BRCKTPASTE = 1 << 16,
20 MODE_NUMLOCK = 1 << 17,
21 MODE_MOUSE = MODE_MOUSEBTN|MODE_MOUSEMOTION|MODE_MOUSEX10\
22 |MODE_MOUSEMANY,
23 };
24
25 void xbell(void);
26 void xclipcopy(void);
27 void xdrawcursor(int, int, Glyph, int, int, Glyph);
28 void xdrawline(Line, int, int, int);
29 void xfinishdraw(void);
30 void xloadcols(void);
31 int xsetcolorname(int, const char *);
32 void xseticontitle(char *);
33 void xsettitle(char *);
34 int xsetcursor(int);
35 void xsetmode(int, unsigned int);
36 void xsetpointermotion(int);
37 void xsetsel(char *);
38 int xstartdraw(void);
39 void xximspot(int, int);
40