aboutsummaryrefslogtreecommitdiff
path: root/include/draw.h
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2018-11-15 20:22:59 -0500
committerRuss Cox <rsc@swtch.com>2018-11-15 20:39:35 -0500
commit8581c2b56763d7787604c8c833d2bd78bdc6a466 (patch)
tree921221af510ad74a89731d9d9cb308e375039f06 /include/draw.h
parent9af9ceca26596d562a3ae89fda70bad9f8822ab0 (diff)
downloadplan9port-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/draw.h')
-rw-r--r--include/draw.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/draw.h b/include/draw.h
index 3a012959..2f283bdf 100644
--- a/include/draw.h
+++ b/include/draw.h
@@ -568,9 +568,10 @@ int mousescrollsize(int);
*/
struct Mouse;
struct Cursor;
+struct Cursor2;
int _displaybouncemouse(Display *d, struct Mouse *m);
int _displayconnect(Display *d);
-int _displaycursor(Display *d, struct Cursor *c);
+int _displaycursor(Display *d, struct Cursor *c, struct Cursor2 *c2);
int _displayinit(Display *d, char *label, char *winsize);
int _displaylabel(Display *d, char *label);
int _displaymoveto(Display *d, Point p);