changeset 53184:1ce6314af22e

posn-object and posn-object-x-y.
author Kim F. Storm <storm@cua.dk>
date Thu, 27 Nov 2003 21:59:16 +0000
parents 61e2da7a49f4
children 85f57f9a360f
files etc/NEWS
diffstat 1 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/etc/NEWS	Thu Nov 27 21:54:19 2003 +0000
+++ b/etc/NEWS	Thu Nov 27 21:59:16 2003 +0000
@@ -1740,6 +1740,17 @@
 +++
 *** New function `posn-actual-col-row' returns actual glyph coordinates.
 
++++
+*** Mouse events may now include image object in addition to string object.
+
++++
+*** Mouse events include relative x and y pixel coordinates relative to
+the top left corner of the object (image or character) clicked on.  
+
+*** New functions 'posn-object' and 'posn-object-x-y' return the image
+or string object of a mouse click, and the x and y pixel coordinates
+relative to the top left corner of that object.
+
 ** New function `force-window-update' can initiate a full redisplay of
 one or all windows.  Normally, this is not needed as changes in window
 contents are detected automatically.  However, certain implicit