st

[fork] terminal
git clone https://hhvn.uk/st
git clone git://hhvn.uk/st
Log | Files | Refs | README | LICENSE

win.h (1185B)


      1 /* See LICENSE for license details. */
      2 
      3 enum win_mode {
      4 	MODE_VISIBLE     = 1 << 0,
      5 	MODE_FOCUSED     = 1 << 1,
      6 	MODE_APPKEYPAD   = 1 << 2,
      7 	MODE_MOUSEBTN    = 1 << 3,
      8 	MODE_MOUSEMOTION = 1 << 4,
      9 	MODE_REVERSE     = 1 << 5,
     10 	MODE_KBDLOCK     = 1 << 6,
     11 	MODE_HIDE        = 1 << 7,
     12 	MODE_APPCURSOR   = 1 << 8,
     13 	MODE_MOUSESGR    = 1 << 9,
     14 	MODE_8BIT        = 1 << 10,
     15 	MODE_BLINK       = 1 << 11,
     16 	MODE_FBLINK      = 1 << 12,
     17 	MODE_FOCUS       = 1 << 13,
     18 	MODE_MOUSEX10    = 1 << 14,
     19 	MODE_MOUSEMANY   = 1 << 15,
     20 	MODE_BRCKTPASTE  = 1 << 16,
     21 	MODE_NUMLOCK     = 1 << 17,
     22 	MODE_MOUSE       = MODE_MOUSEBTN|MODE_MOUSEMOTION|MODE_MOUSEX10\
     23 	                  |MODE_MOUSEMANY,
     24     MODE_KBDSELECT   = 1 << 18,
     25 };
     26 
     27 void xbell(void);
     28 void xclipcopy(void);
     29 void xdrawcursor(int, int, Glyph, int, int, Glyph);
     30 void xdrawline(Line, int, int, int);
     31 void xfinishdraw(void);
     32 void xloadcols(void);
     33 int xsetcolorname(int, const char *);
     34 void xseticontitle(char *);
     35 void xsettitle(char *);
     36 int xsetcursor(int);
     37 void xsetmode(int, unsigned int);
     38 void xsetpointermotion(int);
     39 void xsetsel(char *);
     40 int xstartdraw(void);
     41 void toggle_winmode(int);
     42 void keyboard_select(const Arg *);
     43 void xximspot(int, int);