Tk Source Code

View Ticket
Login
Ticket UUID: 2513104
Title: Fixes for Windows cursor hotspots
Type: Patch Version: None
Submitter: cjmcdonald Created on: 2009-01-16 12:13:46
Subsystem: 31. Cursor Names Assigned To: hobbs
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2009-02-23 19:02:23
Resolution: Accepted Closed By: patthoyts
    Closed on: 2009-02-23 11:59:41
Description:
In win/rc/cursor*.cur Tk includes an implementation of
all of the standard X-windows cursors in Microsoft
Windows format, which is very useful for cross-platform
applications.

Unfortunately the hotspot is wrong for many of these
cursors, especially the various corner, side and angle
indicators.  This is most apparent with graphics drawing
applications which may use these cursors for object
positioning, resizing, dragging etc. The action does not
occur at exactly the spot apparently indicated by the
cursor.  This can be rather off-putting.

I have carefully and tediously reviewed all of the
cursors, apart from some of of the most eccentric ones,
and fixed the hotspots as necessary.  The modified .cur
files are in the attached zip, to be applied to win/rc
CVS in binary mode.
User Comments: patthoyts added on 2009-02-23 19:02:23:
Applied to 8.5 branch

patthoyts added on 2009-02-23 18:59:41:

allow_comments - 1

Applied to HEAD

cjmcdonald added on 2009-01-16 19:13:46:

File Added - 309400: windows-cursors.zip

Attachments: