summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXInt.h
diff options
context:
space:
mode:
authorculler <culler>2018-10-24 16:43:45 (GMT)
committerculler <culler>2018-10-24 16:43:45 (GMT)
commitddb5db1e6f025f1852420243feca27d491051596 (patch)
treea0c5b5817f3c55cb1e47f4e6d8ed4f33f510c1e5 /macosx/tkMacOSXInt.h
parent6327579716bd47191431b8c778cfca0552a198c8 (diff)
downloadtk-ddb5db1e6f025f1852420243feca27d491051596.zip
tk-ddb5db1e6f025f1852420243feca27d491051596.tar.gz
tk-ddb5db1e6f025f1852420243feca27d491051596.tar.bz2
Added a boolean state variable so a displayProc can check if it is being run by drawRect.
Diffstat (limited to 'macosx/tkMacOSXInt.h')
-rw-r--r--macosx/tkMacOSXInt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/macosx/tkMacOSXInt.h b/macosx/tkMacOSXInt.h
index 52be0e1..2972d46 100644
--- a/macosx/tkMacOSXInt.h
+++ b/macosx/tkMacOSXInt.h
@@ -199,6 +199,8 @@ MODULE_SCOPE void TkpClipDrawableToRect(Display *display, Drawable d, int x,
MODULE_SCOPE void TkpRetainRegion(TkRegion r);
MODULE_SCOPE void TkpReleaseRegion(TkRegion r);
MODULE_SCOPE void TkpShiftButton(NSButton *button, NSPoint delta);
+MODULE_SCOPE Bool TkpMacOSXAppIsDrawing(void);
+
/*
* Include the stubbed internal platform-specific API.
*/