This repository has been archived by the owner on Apr 10, 2024. It is now read-only.
/
IA2CommonTypes.idl
executable file
·71 lines (60 loc) · 2.39 KB
/
IA2CommonTypes.idl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
/*************************************************************************
*
* File Name (IA2CommonTypes.idl)
*
* IAccessible2 IDL Specification
*
* Copyright (c) IBM Corp. 2007
* Copyright (c) Sun Microsystems, Inc. 2000, 2006
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 2.1, as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02110-1301 USA
*
************************************************************************/
/// These constants control the scrolling of an object or substring into a window.
enum IA2ScrollType {
/** Scroll the top left of the object or substring to the top left of the
window (or as close as possible).
*/
IA2_SCROLL_TYPE_TOP_LEFT,
/** Scroll the bottom right of the object or substring to the bottom right of
the window (or as close as possible).
*/
IA2_SCROLL_TYPE_BOTTOM_RIGHT,
/** Scroll the top edge of the object or substring to the top edge of the
window (or as close as possible).
*/
IA2_SCROLL_TYPE_TOP_EDGE,
/** Scroll the bottom edge of the object or substring to the bottom edge of
the window (or as close as possible).
*/
IA2_SCROLL_TYPE_BOTTOM_EDGE,
/** Scroll the left edge of the object or substring to the left edge of the
window (or as close as possible).
*/
IA2_SCROLL_TYPE_LEFT_EDGE,
/** Scroll the right edge of the object or substring to the right edge of the
window (or as close as possible).
*/
IA2_SCROLL_TYPE_RIGHT_EDGE
};
/// These constants define which coordinate system a point is located in.
enum IA2CoordinateType {
/// The coordinates are relative to the screen.
IA2_COORDTYPE_SCREEN_RELATIVE,
/** The coordinates are relative to the upper left corner of the bounding box
of the immediate parent.
*/
IA2_COORDTYPE_PARENT_RELATIVE
};