diff options
author | Russ Cox <rsc@swtch.com> | 2018-11-15 20:22:59 -0500 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2018-11-15 20:39:35 -0500 |
commit | 8581c2b56763d7787604c8c833d2bd78bdc6a466 (patch) | |
tree | 921221af510ad74a89731d9d9cb308e375039f06 /include/drawfcall.h | |
parent | 9af9ceca26596d562a3ae89fda70bad9f8822ab0 (diff) | |
download | plan9port-8581c2b56763d7787604c8c833d2bd78bdc6a466.tar.gz plan9port-8581c2b56763d7787604c8c833d2bd78bdc6a466.tar.bz2 plan9port-8581c2b56763d7787604c8c833d2bd78bdc6a466.zip |
libdraw: add Cursor2, a 32x32 high-res cursor
Also add setcursor2, esetcursor2, and draw protocol encoding.
Calls to the old setcursor, esetcursor create a 32x32 by
pixel doubling when needed.
Diffstat (limited to 'include/drawfcall.h')
-rw-r--r-- | include/drawfcall.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/drawfcall.h b/include/drawfcall.h index fb339919..acab98c5 100644 --- a/include/drawfcall.h +++ b/include/drawfcall.h @@ -13,6 +13,9 @@ tag[1] Rmoveto tag[1] Tcursor cursor[] tag[1] Rcursor +tag[1] Tcursor2 cursor[] +tag[1] Rcursor2 + tag[1] Tbouncemouse x[4] y[4] button[4] tag[1] Rbouncemouse @@ -89,6 +92,8 @@ enum { Rtop, Tresize = 26, Rresize, + Tcursor2 = 28, + Rcursor2, Tmax, }; @@ -104,6 +109,7 @@ struct Wsysmsg Mouse mouse; int resized; Cursor cursor; + Cursor2 cursor2; int arrowcursor; Rune rune; char *winsize; |