|
2003-07-24
| ||
| 08:20 | • Closed ticket [700779ffff]: cursors are inconsistent plus 7 other changes artifact: 26bc45ea97 user: patthoyts | |
|
2003-03-10
| ||
| 18:52 | • Ticket [700779ffff]: 4 changes artifact: 3aef9af6de user: patthoyts | |
| 11:45 | • New ticket [700779ffff]. artifact: 58385bd76a user: nobody | |
cursors are inconsistent
Closed / Invalid700779ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 23 years ago
Descriptionplain2003-03-10 11:45:19
the native pointer in X is "left_ptr" and in windows is "arrow". i suggest remapping the cursors so that arrow is the native pointer on all platforms the fleur/move cursor does not have the native appearance in windows there is no native hand (hyperlink) cursor spec in windows. it should be easy to add a mapping for hand2 to IDC_HAND. the documentation says the "size" cursor is available in windows but i got an error when trying to use it in my 8.4.2 tclkit. all X cursors are available under windows as tk has them built in. however the windows cursors are not available on other platforms which can cause errors. i would suggest mapping the windows cursor names to their similar X names when running in X.
patthoytsplain2003-03-10 18:52:35
Logged In: YES
user_id=202636
The mapping of hand2 to IDC_HAND is trivially implemented in
tclWinCursor.c using
#if WINVER >= 0x0500
{"hand2", IDC_HAND},
#endif
However, you'll not that this requires us to set WINVER to
compile for windows version 5 or better. ie: WinME, 2K or XP.
I guess that this means this cursor isn't available on older
platforms and I have yet to test how this responds under Win98.
tktest seems to be fine when compiled with WINVER set to 0x0500.
patthoytsplain2003-07-24 08:20:01
Logged In: YES user_id=202636 Closing this as I've moved the issue to the Tk bug tracker. Follow Tk bug #776646
Log in (anonymous is fine) to add a comment.