Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Accessibility APIs sensitive to whether an NSView isFlipped



Hello all,

I just noticed by debugging that when hit testing, or when I return a AXPosition, the accessibility APIs peek at my NSView to look at whether it returns YES for |-(BOOL)isFlipped| and adjust accordingly.

I had assumed that, when returning an AXPosition for something deep down in my hierarchy, that I would always return a cocoa coordinate, but I noticed that it depends on what the topmost NSView's coordinate system is like.

Note that a |accessibilityHitTest:| message can be sent and return a custom object deep down the view, that Cocoa can't see. Since this custom object might not know what *anything* about the view's internal properties, I think it would make more sense to say that the APIs always expect a cocoa coordinate, or vice versa.

Anyway, some kind of comment about this automatic adjusting in the accessibility docs would make sense.

Thanks,
Håkan Waara _______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/accessibility-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.