]> git.eshelyaron.com Git - emacs.git/commitdiff
posn-object and posn-object-x-y.
authorKim F. Storm <storm@cua.dk>
Thu, 27 Nov 2003 21:59:16 +0000 (21:59 +0000)
committerKim F. Storm <storm@cua.dk>
Thu, 27 Nov 2003 21:59:16 +0000 (21:59 +0000)
etc/NEWS

index 7f3100ce047b8c5d56f7259f732372e63e1b5dd5..2cae0913cc8a2cf18a607a870b6578a5a10bdb15 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1740,6 +1740,17 @@ text area).
 +++
 *** 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