X-Git-Url: https://git.danieliu.xyz/?p=st.git;a=blobdiff_plain;f=win.h;h=a6ef1b9736d188a78e014c482ecafde688974861;hp=1e08b160d7d3dd858d7e4b8ffbfeb3c17a34ace4;hb=e85b6b64660214121164ea97fb098eaa4935f7db;hpb=05c66cb37d9ff278a3e0c45682c4b5e7945deb42 diff --git a/win.h b/win.h index 1e08b16..a6ef1b9 100644 --- a/win.h +++ b/win.h @@ -23,12 +23,11 @@ enum win_mode { |MODE_MOUSEMANY, }; -void draw(void); -void drawregion(int, int, int, int); - void xbell(void); void xclipcopy(void); -void xhints(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 *); @@ -36,3 +35,5 @@ int xsetcursor(int); void xsetmode(int, unsigned int); void xsetpointermotion(int); void xsetsel(char *); +int xstartdraw(void); +void xximspot(int, int);