aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/devdraw/osx-screen.h
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2018-11-15 20:28:56 -0500
committerRuss Cox <rsc@swtch.com>2018-11-15 20:39:35 -0500
commit7d43dde539378fb5730df6ce961f7916f495746e (patch)
treedf3db29164e5ed9d556db391b2ed56145883d682 /src/cmd/devdraw/osx-screen.h
parentbe0a15c47b75dc73a5c389cca125692f0cfdf726 (diff)
downloadplan9port-7d43dde539378fb5730df6ce961f7916f495746e.tar.gz
plan9port-7d43dde539378fb5730df6ce961f7916f495746e.tar.bz2
plan9port-7d43dde539378fb5730df6ce961f7916f495746e.zip
devdraw: add Cursor2 support on macOS 10.14 Mojave
This replaces the pixel-art scaling algorithm used for upscaling before. The results were not crisp enough to serve as everyday cursors.
Diffstat (limited to 'src/cmd/devdraw/osx-screen.h')
-rw-r--r--src/cmd/devdraw/osx-screen.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/devdraw/osx-screen.h b/src/cmd/devdraw/osx-screen.h
index f50d8dfe..d5ba3dd2 100644
--- a/src/cmd/devdraw/osx-screen.h
+++ b/src/cmd/devdraw/osx-screen.h
@@ -5,7 +5,7 @@ void zunlock(void);
Memimage *attachscreen(char*, char*);
void setmouse(Point);
-void setcursor(Cursor*);
+void setcursor(Cursor*, Cursor2*);
void setlabel(char*);
char* getsnarf(void);
void putsnarf(char*);