|
ADC Home > Reference Library > Reference > User Experience > Accessibility > Accessibility (ApplicationServices/HIServices) Reference
|
UniversalAccess.h |
| Includes: | <CoreGraphics/CoreGraphics.h> <AvailabilityMacros.h> |
This header file contains functions that give applications the ability to control the zoom focus. Using these functions, an application can tell the Mac OS X Universal Access zoom feature what part of its user interface needs focus.
Tells the Universal Access zoom feature where it should focus.
Determines if the Universal Access zoom feature is enabled.
UAZoomChangeFocus |
Tells the Universal Access zoom feature where it should focus.
extern OSStatus UAZoomChangeFocus( const CGRect *inRect, const CGRect *inHighlightRect, UAZoomChangeFocusType inType);
inRectThe frame of the element in focus, in global 72-dot-per-inch (dpi) coordinates.
inHighlightRectThe frame of the highlighted part of the element in focus, in global 72 dpi coordinates. If the whole element is in focus,
and not just a smaller part of it, pass the inRect parameter and pass NULL for inHighlightRect.
inTypeA value of type UAZoomChangeFocusType.
Returns noErr if there were no problems, if Universal Access Zoom is zoomed all the way out, or if the feature is off;
returns paramErr if inRect is NULL or if inType is out of range.
This function tells Universal Access the frame of the element in focus and the part of the element that should be in focus.
UAZoomEnabled |
Determines if the Universal Access zoom feature is enabled.
extern Boolean UAZoomEnabled( void);
Returns true if the Universal Access zoom feature is on, false if the zoom feature is off or if the user
has zoomed all the way out.
UAZoomChangeFocusType |
Defines the Universal Access zoom change focus type.
typedef UInt32 UAZoomChangeFocusType;
kUAZoomFocusTypeOther |
Values that tell the Universal Access zoom feature what type of event is causing the change in zoom focus.
enum { kUAZoomFocusTypeOther = 0, kUAZoomFocusTypeInsertionPoint = 1 };
kUAZoomFocusTypeOtherAn event is requesting focus.
kUAZoomFocusTypeInsertionPointThe text insertion point has moved.
|
Last Updated: 2008-08-07