|
|
Log In | Not a Member? |
Contact ADC |
|
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.
UAZoomChangeFocus |
Tells the Universal Access zoom feature where it should focus.
extern OSStatus UAZoomChangeFocus( const CGRect *inRect, const CGRect *inHighlightRect, UAZoomChangeFocusType inType);
inRectinHighlightRectinRect parameter and pass NULL for inHighlightRect.inTypeReturns 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;
UAZoomFocusTypes |
Values that tell the Universal Access zoom feature what type of event is causing the change in zoom focus.
enum { kUAZoomFocusTypeOther = 0, kUAZoomFocusTypeInsertionPoint = 1 };
kUAZoomFocusTypeOther- An event is requesting focus.
kUAZoomFocusTypeInsertionPoint- The text insertion point has moved.
|