aboutsummaryrefslogtreecommitdiff
path: root/include/draw.h
diff options
context:
space:
mode:
authorPetter Rodhelind <petter.rodhelind@gmail.com>2020-06-18 23:57:51 +0200
committerPetter Rodhelind <petter.rodhelind@gmail.com>2020-06-18 23:57:51 +0200
commit7cda34cf34f3afbd3f2000aa5e2b59ddc319f0f2 (patch)
treeff18b856a35c80a9cc40573c76899d8a468bedc5 /include/draw.h
parentea23656f7c3afcfd8516b00c0db09879ae80a09f (diff)
parent329831171dd6ef81c113f101093c7b4947381003 (diff)
downloadplan9port-7cda34cf34f3afbd3f2000aa5e2b59ddc319f0f2.tar.gz
plan9port-7cda34cf34f3afbd3f2000aa5e2b59ddc319f0f2.tar.bz2
plan9port-7cda34cf34f3afbd3f2000aa5e2b59ddc319f0f2.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'include/draw.h')
-rw-r--r--include/draw.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/draw.h b/include/draw.h
index 926cc748..9a22e6b6 100644
--- a/include/draw.h
+++ b/include/draw.h
@@ -311,8 +311,8 @@ struct Font
Display *display;
short height; /* max height of image, interline spacing */
short ascent; /* top of image to baseline */
- short width; /* widest so far; used in caching only */
- short nsub; /* number of subfonts */
+ short width; /* widest so far; used in caching only */
+ int nsub; /* number of subfonts */
u32int age; /* increasing counter; used for LRU */
int maxdepth; /* maximum depth of all loaded subfonts */
int ncache; /* size of cache */
@@ -516,6 +516,7 @@ extern Display *display;
extern Font *font;
extern Image *screen;
extern Screen *_screen;
+extern int drawmousemask; /* set bits to disable receiving those buttons */
extern int _cursorfd;
extern int _drawdebug; /* set to 1 to see errors from flushimage */
extern void _setdrawop(Display*, Drawop);